allow Slugify to take callable pretranslate

`Slugify::set_pretranslate` should accept a dictionary, a callable, or None, but as currently implemented, it only accepts a dict or None. This PR allows `set_translate` to take a callable as well. All tests passing.