bug fixes for TargetNGramFeature
Merge branch 'master' of github.com:moses-smt/mosesdecoder