rewrite of ensime-sbt
java-flags close #32