refactor encoded values changes and test that resetDictionary works
Merge pull request #223 from Parquet/dictionary_reset

refactor encoded values changes and test that resetDictionary works