Implement `__hash__`, it could be useful to use feature extractors as dictionary keys. Also requires `__eq__`, see #148