Add support for Java 8.

Support for java -source 1.8
Also change Travis to use 3x3 test matrix (jdk x nvm).
Merge pull request #168 from jimlloyd/feature/jdk8-squashed

Add support for Java 8.