Update travis-ci to test against jdk 8 as well as jdk 7.