fixed s3 warnings and a couple others
Merge branch 'dev' of https://github.com/kbenoit/quanteda into dev