moved OrderedDict code into backport/ and added original copyright notice