set language level to 1.7 to support diamond operator and be able to compile from maven directly

Diamond operator is only supported form 1.7 and default for maven compiler plugin is 1.5