fwd and bkwd compatible form field ordering

* undocumented keyOrder has gone missing on django master. 
* support Python < 2.7 which don't have collections.OrderedDict
* lint dictionary

see: https://github.com/pennersr/django-allauth/issues/356 for a similar discussion