CDK-581: Updates for java8

This PR alters the travis config to test java8 without pushing to master. This will not be part of the commit when merged.
One more time. I mean so we test this patch against both Java 8 and Java 7. There's no use committing these changes if they break the Java 7 build.