Changed java version to 1.7 in order to support newest features.

Probably handy for everyone involved. Only changed version in pom file, but apparently whitespace was changed so GitHub doesn't display changes nicely. Checked if it still builds, and it does.