Don't call Layer#onRemove if Layer#onAdd was never called
Don't call Layer#onAdd on a layer that has been removed
Don't fire layerremove if layeradd was never fired
Merge pull request #1729 from jfirebaugh/add-remove

Don't call Layer#onRemove if Layer#onAdd was never called