Rebased Ngram

Django ships six. We should use it instead. We want as much as possible to avoid adding a dependency.