[PLAT-5302] Remove dependence of hashcode implementations on objects whose hashcode uses a memory location, e.g. Class. Changed some datastructures to use LinkedHash* collections rather than Hash*.