[api] allow cross site requests to api.
Merge pull request #25 from Payum/cors

[api] allow cross site requests to api.