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.