Replace .isResolved & .isRejected with .state

This is a step towards the eventually upgrade to jQuery 2.0 (#3123).

Both ```.isResolved``` & ```.isRejected``` were deprecated in jQuery 1.7 and removed in 1.8 (http://api.jquery.com/deferred.isResolved/).