Bump source and target level to java 7

Switch to Java 7 to use it syntax and features.