[r1-dev]Added bounds attribute to the map and fixed click on marker

Hi guys, been using the bounds of the map in a project and thought it could be useful to others.

Also a fix for the click function on a marker as it seems to not work without being wrapped inside a $timeout

NB: Listening for the 'idle' event on the map to update the bounds because 'bounds_changed' event is triggered a lot when the user moves the map.