Fixed edge_ngram using old ngram branch by toastdriven. 

Ngram (not edge_ngram) remains to be fixed. Unit tests are broken for haystack 2.X.X and will be fixed in a separate commit. Tested on my machine, works great.