Support for building javadocs on Java 8

Support for building javadocs on Java 8, that introduced a new doclint
feature that does a stricter HTML validation check. 
See https://bugs.openjdk.java.net/browse/JDK-8020619