Modified ssl certificate authentication to handle next redirection
Makes small changes in lms and cms both so that user's go to the
original page they intended to if they weren't already logged in
Fix infinite redirect loop on logout caused by django caching
Merge pull request #2768 from carsongee/cg/ssl-next-url

Modified ssl certificate authentication to handle next redirection
Tolerance expressed in percentage now computes correctly. [BLD-522]
Modified and extended tests on percentage expressed tolerance.
Addressed comments.
All tests pass now.