Set up CORS hander for error responses

/to @ritch 

See https://github.com/strongloop/loopback/issues/575
IMHO this optimization should be contributed to the CORS module, it's not something for strong-remoting to implement.