…rs: Remove 'isMarker' tests from L.EditToolbar.Edit and set layer styles for editing mode in L.Edit.Poly and L.Edit.SimpleShape, rather than L.EditToolbar.Edit.
… of the edit toolbar. refs #328
…is enabled correctly.
… layer is a marker.
…. Makes it easier to reference.
… polygon, circle etc. refs #250
…ittle bit of mouse motion. The problem is that Leaflet.draw will miss most of the points if one quickly (or even not terribly quickly) tries to draw a shape such as a polygon. This is because clicking using a physical mounse typically introduces a little bit of motion to the on-screen mouse cursor. Such clicks will be perceived as a map move event, not a draw click. The solution is to hook `mousedown` rather than `click`, and track the distance of the motion when `mouseup` is received.