Fixing Map Rendering in shopping mall moodles.

* Map rendering must occur once the modal window is shown,
   - Changes:  map is initialized and  rendered on modal shown event

* Map rendering must resize itself to the available width and height
   - Changes: map resize event is called just after it is initialized

 * Logging should be done comfortably as console.log(..)
   - Changes: Log the event of moodle showing and map rendering, can be seen in console firebug