Fix some formatting - add @Override, remove unused imports, override hashCode()
Bump JDK version to 1.7 since our code eventually calls javax.ws.rs.core.MultivaluedMap.addAll anyway
Fix an error when building an image from Dockerfile