Fixing null ref exceptions in *InvalidateCacheOutput attributes

Null reference exception is thrown when WebApi action results in exception and actionExecutedContext.Response ends up being null.