py2.6 compatibility for OrderedDict

fallback to trying ordereddict.OrderedDict if collections.OrderedDict is not available