Add Python 2.6 support.
Merge pull request #21 from charz/master

Add Python 2.6 support.