Add Travis CI.
Use Java7 & 8 language features.
Use JDK8 in Travis CI.