RESTAdapter: Properly setup ajax request
Merge pull request #27 from mekishizufu/fix_rest_adapters_ajax

RESTAdapter: Properly setup ajax request