Add FeatureDetector caching.

Implements #36 
Good point.