Move to Java 1.7 on 1.x branch

This PR moves the 1.x branch to Java 1.7 as min version. This means Elasticsearch 1.2 has Java 7 as min version.