Fixed edge_ngram using old ngram branch by toastdriven. Ngram remains to
be fixed. Tests are broken for haystack 2.X.X and will be fixed in a separate commit.