OrderedDict is imported from pycompat

OrderedDict exists in ordereddict only in Python2.6.