Rename unregisterFilter to deregisterFilter

fixes #2167
- Rename functions
- Adjust tests
Merge pull request #2168 from halfdan/deregister

Rename unregisterFilter to deregisterFilter