task exception handling for views.py
test assertRedirects applied
test assertRedirects applied
some exception code removed, some added
test logout added
Merge pull request #52 from wikibootup/MtoMtest_and_refactoring_test

user view & http test modified