Made the map implementations Java 8 compliant.
NateS solution for ObjectMap and IdentityMap.
Merge pull request #2157 from nooone/java8

Made the map implementations Java 8 compliant.