Add assert that `this` is correct in deferReadiness and advanceReadiness

We got in trouble by accidentally invoking `advanceReadiness` without `this` being bound to the app. These asserts would have caught the problem more quickly.