jQuery.when: Update to "Promise-Compatible"

Based on gh-567 the returned value of $.ajax() is actually a Promise-compatible object and not a Promise object.

Closes gh-574
Ref gh-567