support for python 2.6
Merge pull request #1 from peterbe/py26-and-ordereddict

support for python 2.6