redirecting to previous page after sign in
using exception variable
committing first test for redirecting back to media object after sign in.  probably easier to do this with capybara.
Merge pull request #106 from atomical/bugfix/VOV-1817

Bugfix/vov 1817