AeroGear.Ajax - promises should resolve correctly.  - AGJS-177