python2.6 support fixes
Merge pull request #11 from paylogic/python2.6-support

python2.6 support fixes