Started adding multilayer support to load_map().

We can now load the base tiles layer from maps with any number of tiles
layers. Other tiles layers are loaded but not yet used.