Add support for Python 2.6

Not sure that I want to do this, 2.6 support requires loads of
conditional imports of third party packages:

* ordereddict
* logutils
* unittest2