add varietals matching test + numerous bug fixes. similar_to now uses a mix of trigram and tsearch fuzzy matching