learningequality/ka-lite — pull request #820 by bcipolli (2013-10-13 14:47:35+00:00)
Title: Fix two bad bugs!

Bug #1:
* Order of fields matters on forms, for determining clean order. Changing order broke verification of username, which broke case-free username logic.
* Double-save for deferring counters (but having a counter position set for determining UUID) broke Django's `objects.create` function, and is slow. Now, change logic to save once, and work with `objects.create`

Testing:
* Ran automated test suite (passed)
* Ran basic syncing test (manually)

PR help requests:
* Timing: ASAP. These are severe bugs. May need to merge during development, to avoid cross-branch issues.
* @jamalex please review the code change
* @aronasorman please review the code change.
* I will be working on the cross-version automated sync tests next week, which will test this fully.