hashCode and equals for NamedFeature

NamedFeature is used as a key in the CachingStateRepository and without
these methods it's impossible to retrieve cached features.
Merge pull request #57 from clinton-fillier-vgh/master

#56 - hashCode and equals for NamedFeature