adding dictionary encoding for long,double,int,float
refactoring dictionary encoding for non string types after comments #127
Merge pull request #127 from atkeano/dictionary_encodings

Adding dictionary encoding for non string types.. #99