Unregister for feature events when removing features
Merge pull request #1262 from tschaub/unlisten

Unregister for feature events when removing features.