updated version and fixed compatability for pre python 2.6
Merge branch 'hotfix/0.3.2'