Set up CORS hander for error responses

/to @ritch 

See https://github.com/strongloop/loopback/issues/575
Can you use as simpler method please? `person` and `msg` seems to be completely unrelated to this test.