Bug 955626 - Change wait in GaiaTest class to wait for AppWindowManager to acknowledge the active frame instead of js event