Initial fix for the #2119 - Redirect users if exam mode is on on that device.
Use the `request.is_logged_in` to check if user is logged-in or not.  Comment print statements and update some comments.
Merge branch 'nalanda-rct2' into feature/2119-Redirect-users-if-exam-mode-is-on
Add the `/admin` url to exceptions when redirecting.
Add the `student_testing.middleware` to `distributed.settings`.
Refactor to check for url exceptions first before proceeding to check for the `EXAM_MODE_ON` setting.
Merge bug fix for "password length test" into branch.
Wrap middleware call to `reverse` in exception handler to pass unit tests.
Change number of queries issued by unit test to pass the tests.
Merge branch 'nalanda-rct2' into feature/2119-Redirect-users-if-exam-mode-is-on
Move `FuzzyInt` to `kalite/testing/utils.py`.
Use `FuzzyInt` during browser tests to attempt passing the Travis tests.
Minor PEP-8 changes.
Try to pass Travis test again.
Merge pull request #2123 from cpauya/feature/2119-Redirect-users-if-exam-mode-is-on

Feature/2119 redirect users if exam mode is on
Merge branch 'nalanda-rct2' into playlists