Added parameter max_distance to Levenshtein

It allows the algorithm to return faster when only a distance comparision is needed. Very useful to speed up gettext fuzzy comparision, which discards distances greater than a max_value.