Replaces sbt AJAX calls with web socket. Also some refactoring of code.
Cleanup based on PR comments
Merge pull request #696 from typesafehub/wip/h3nk3-replace-sbt-controller

Replaces sbt AJAX calls with web socket. Also some refactoring of code.