Changing to JDK7 and raising version to 0.4.0 to signal JDK change.
Merge branch 'jdk7'.

* Setting JDK7.
* Updating dependencies for Jenkins upstream project triggers.
Merge pull request #2 from msteindorfer/master

Changing to JDK7.