Downgrade java compiler version to 1.6
[#2] Remove java 7 language features and ensure java 6 compatibility
[#5] travis setup for openjdk6 and openjdk7