Fix server gradle build for resources reloading

* Lower requirements to Java 1.7
* Fix APP_HOME env variable
Disable view cache for Handlerbars.java