In theory, don't need 2.7

backports of OrderedDict and getcallargs...