Lots of cleanup and linting. This also changes the capture/authorize URL patterns to be a little more semantic, but breaks backwards compatibility. Authorization flow now works from authorize form submit. Fixes a few error_response issues.
More cleanup and linting. Adds support for configurable user models introduced in Django 1.5.