Adding support for spree_xhr_post, spree_xhr_put, spree_xhr_delete

Fixes #4071