Cleanup of the prediction implementation from hacks introduced in experimentation phase
This set of commits cleans up the Mosh prediction engine integration with the terminal interposer implementation. During experimentation, there were many hacks added as part of exploration. With this cleanup, the predictive interposer is production ready.