Feature/jdk5 only

For production classes fail build if using post-JDK5 API.  (To check test classes need a fix to animal sniffer maven plugin.)