Add the ability to redirect to referer.

Added method to retrieve the request object from the MVC event
in order to read the referer from the headers. The referer
value is then used to redirect to.