Merge pull request #61 from sbt/wip/jsuereth-model-view-server

Wip/jsuereth model view server
Wire compilation events to be fired.

Review by @dotta
first cut at getting integration tests working agian.

* Fix ivy cache validation issue with dep store.
* Add sbtclient support to integration test suite, using naive loader
* create first dummy integraiton test.
Fix integration test to work.

* Add hook where integration repositories are used to start the sbt server.
* Remove deadlock from SimpleConnector.
* Ensure loading a project and getting build structure works.
Add a test for autocompletion and remove deadlock.

* Close socket when user requests client close.
* Add minimal test for autocompletion.
Merge pull request #65 from sbt/wip/model-view-integration-tests

Fix integration test suite so we can start testing features.
Fix replyTo wiring through server.
Add failing test for ui interaction that we can fix to work.
Fix integration tests such that the forked sbt has a completely clean environment, using new server hooks and hackery.
Fix interaction wiring so it correctly flows through the system.

* Fix a few replyTo invalid usages.
* Fix IPC protocol to include replyTo serial everywhere.
* Update test to correctly end.
* Remove non-longer-necessary debugging output.
* Make sure Responses extend Response to we hit the correct pattern match.
Add basic interaction from ui plugin to simple sbt terminal
Merge pull request #66 from sbt/wip/fix-interaction-replyTo

Fix interaction to be completely wired.
Add cleanup of request-associated data on responses.

* Remove readline handlers upon response messages
* Remove confirm handlers upon response messages
Move hardcoded build version numbers into one file for @havocp
Merge pull request #67 from sbt/wip/various-fixes

Cleanup request-associated data in server-client-handlers
Add task execution and stdout capture to tests.
Improve error messages for integration test Await blocks.

Also add log.info capture tests.
Add test for compilation failure.
Merge pull request #68 from sbt/wip/moar-server-tests

Fill out missing integration tests for the server
First cut at read-only event loop.