Set maximal whoosh version

whoosh 2.5 has removed spelling.SpellChecker class which is
imported from haystack.backends.whoosh_backend in haystack 1.2.7.