Syntactic changes for JDK 1.8 support (compiles under both 1.7 and 1.8)
Add JDK 8 to travis tests