move to Java 8

I'll merge it myself if Travis agrees