Add tests, comments, fix a few PEP-8's.

Also change ordered_model's admin.py to stop importing from the
deprecated django.conf.urls.defaults.