Bug 1028002 - Make sure an appWindow is in 'opened' state once we got th...

...e animationend and mozbrowserloadened instead of waiting for the opening timeout.