Add CORS support

https://github.com/fs/rails-base-api/issues/51

Before testing with `$.ajax` do:
```js
$.ajaxSetup({
    headers: { 'X-Requested-With' : 'XMLHttpRequest' }
});
```
Could I ask you to add a bit explanation about your suggestion? Why it will be a best choice?