Zoomlevelschange event

This code makes removeLayer and addLayer emit a zoomlevelschange-event if the zoomlevels were changed as a result of adding / removing the layer. Tests are included.
Please consider merging this also to stable (for 0.5.2) since I plan on making use of this in the zoom slider plugin (tell me if I should make a separate PR for that.