Fix adding and immediately removing a Layer from the map when the map is never initialized
Another break with adding and removing tile layers.
Merge pull request #2421 from danzel/addremovebug

Fix adding and immediately removing a Layer from the map when the map is never initialized
Added rotate and scale functionality to Marker

Originally based on RotatedMarker.js from Leaflet.PolylineDecorator by
Benjamin Becquet.

https://github.com/bbecquet/Leaflet.PolylineDecorator/blob/master/src/L.RotatedMarker.js

Includes a DomUtils.getFilter that creates all of the required DX filters.