OPEN - issue YZABP-168: Investigate code caching issues that may be
affecting performance  https://illuminadev.co.uk/jira/browse/YZABP-168

Use static variables to contain the map data
Cache the maps in the Metadata cache
Use an associative array for determining if the metadata for a class has
already been loaded