fix broken tests on jetty9
bump version for 0.4.0-SNAPSHOT
Change target JVM to Java 7