bug fix in Wordsmith replication Chi-square
Fixed and merged

Merge branch 'dev' of https://github.com/kbenoit/quanteda into dev

Conflicts:
	R/features.R
Fixed and merged
Generalized ngram
Merge branch 'dev' of https://github.com/kbenoit/quanteda into dev