Add support for java 7
Update source and target compliance level to 1.7