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.
I think it'd be useful to have a version of this patch that includes both JDK7 and JDK8. That way we're sure that none of the changes break the existing profiles.