Add CORS support

https://github.com/fs/rails-base-api/issues/51

Before testing with $.ajax do:

$.ajaxSetup({
    headers: { 'X-Requested-With' : 'XMLHttpRequest' }
});