Remove dead code and cleanup imports in tools+sbt-plugin+build.
Merge pull request #439 from sjrd/remove-dead-code

Remove dead code and cleanup imports in tools+sbt-plugin+build.