fix LevenshteinComparator
add unit test for LevenshteinComparator
Merge pull request #761 from devinrsmith/master

Fix IAE ("Comparison method violates its general contract!") with LevenshteinComparator