fix python2.6 dependence
add all_to_dicts unitest
Merge pull request #23 from aminzai/dev

Fix Python2.6 Dependence