Made objects[] a trait of the Map class

This allows object data and map data to be stored together in a Map
object.  This will be useful when saving and loading specific map data.