import python 2.6 version of OrderedDict when needed.