Make compareScrubbing generic.

> compareScrubbing is now generic and takes two comparison functions
instead to reduce code repetition.
> Am concerned that the mysql-python connector through PIP may not
include an actual MySQL driver