Bug 1059245 - Update tests and framework to use the new Browser app

I am wondering if this is the right direction to go. For some reasons, there are many this kind of wait_for_condition. Even if we figure that we successfully switch to the displayed app, it doesn't necessary mean that the app is displayed or enabled. Can we wait for app "displayed" or something in app "displayed"?