Find the Levenshtein edit distance between two strings. That is to
say, the number of deletion, insertion and substitution operations
that are required to make the two strings equal. Note that this
algorithm therefore does not make use of the
transpositionCost field of the costs. See also:
http://en.wikipedia.org/wiki/Levenshtein_distance.