Added exception filters for both MVC and Web API that log the exception.