Replaced render_to_response with render_template in accounts.views.
Added a render_json function to huxley.shortcuts, used it in accounts.views.
Reduced import statements in accounts.views.
Moved the heavy logic for change_password into a HuxleyUser proxy model. Added a constants file to reduce usage of literals. Added a unit test for the change_password method.