Support building with JDK 8

- Checks for Java version and suppresses lint warnings if building with
Java 1.8
- Add trailing slash to javadoc links

Issue: ANDROID-150