some pep8
Make NodeFinder hashable.

This is needed for the new profiling of features.