[#1830] Use OrderedDict from ckan.common to fix python2.6 support