Fixed an issue that TokenInfoDictionary doesn't return all features.

* TokenInfoDictionary#getAllFeaturesArray misses the last feature.
* Added relevant tests including UserDictionary.
Minor changes.
Merge pull request #5 from masaruh/fix-features

Fixed an issue that TokenInfoDictionary doesn't return all features.
Updated changes and fixed test imports.