Change external dependency format

We no longer need gradle 0.9 support.
Change java source and target to 1.7

Java 1.6 is ancient, and has reached official EOL. We don't need
to support 1.6 any more. Java 1.7 is now our minimum
language level.