Added getClosestMatch(), along with tests and Travis config.