Set up CORS hander for error responses

See https://github.com/strongloop/loopback/issues/575
Merge pull request #106 from strongloop/feature/fix-lb-575

Set up CORS hander for error responses