Inspector buffer uses a major mode ; fixes to ensime-with-popup-window

Fix ensime/ensime-server#282 , just because.

This also upgrades the sbt version.

As an aside, it would be great if a few people could try the integration tests and make sure they get the same results as I did (only the tests marked FAIL are failing)