Fix up Travis configuration.

Remove the declaration that we are using Java (since that will *always*
try to use our less-function Gradle build recipes), and just run maven
install and test by hand (mimicing what Travis would normally do). Also
expand to build against both the Oracle and OpenJDK 7. Add a build
against 8 as well, but allow this to fail.