Remove SVG marker group element when path removed.

SVG markers don't clean up after themselves, this patch fixes it.  I think the architecture could stand to be refactored to delegate add/remove to the layers themselves but for now at least the need to remove the `<g>` element is captured.