jQuery Promise with evented resolution/rejection conditions.