several changes to tiled map loader

removed world information library functionality
type library is loaded from map properties
moved map table nil-check right under the call to require
single resource storage instead of two tables