Configurable ruby and python finders using a base class to do most of the work

Signed-off-by: Marshall Pierce <marshall@palominolabs.com>