Drop support for java 1.5.

Java 1.5 isn't supported by Travis, and is something that doesn't
see wide usage in our API.