Storing rarely modified properties in the user's session cache, to avoid unnecessary database queries. Remove double-call to main custom context processor, made Django toolbar REQUIRE CACHE_TIME=0
Moving code to appropriate middleware
implementing user sign-up restriction. extended config package such that multiple can be on, and added a config package for restricting users.
one more relevant spot
separating form and view logic more cleanly
Merge branch 'develop' of github.com:learningequality/ka-lite into minimize_queries_1

Conflicts:
	kalite/main/middleware.py
Don't cache data in session if user can change them (to avoid having to invalidate caches). Also fix a bug in call to test_connection()
Make require_facility and login page more efficient.  NOTE: we should never send querysets to templates, only lists!
Merge branch 'develop' of github.com:learningequality/ka-lite into minimize_queries_1

Conflicts:
	kalite/securesync/users/api_views.py
Fix bug passing language to VideoLog.update_video_log. Include language in __unicode__ output.
**DO NOT include new fields (i.e. fields with minversion) to be used in _hashable_representation.**  Migrate _hashable_fields to a class function.
Fixed bug--0 facilities mean facility_exists is FALSE :P
Added documentation for signed_version
Merge pull request #807 from bcipolli/hashable_fields_minversion

Do not include new fields in _hashable_representation
Merge pull request #785 from bcipolli/minimize_queries_1

Minimize queries 1
Merge branch 'develop' of github.com:learningequality/ka-lite into corrections

Conflicts:
	kalite/securesync/users/views.py
Merge pull request #796 from bcipolli/corrections

HTH: IDOC: Allow option for restricting user sign-up
Merge branch 'develop' of github.com:learningequality/ka-lite into edit_user_info

Conflicts:
	kalite/securesync/users/views.py