Switch back to using args so we can make partials from xhr()
Switched calls to xhr() back to params style
Added a generic retry_promise function that can retry any function
Switched to generic retry function
Merge branch 'restore-xhr-args' into develop