A compatibility layer for OrderedDict.  (ordereddict.OrderedDict for python <2.7, collections.OrderedDict otherwise).