Keep up to date

* Bump SBT version (from 0.13.0 to 0.13.5)
* Use Java 1.7 by default.
* Refine buildprocess and cache directory
* Clean up of not used code
* Add tests