Add wait for activity.

Fix #332

This fixes the problem where the starting activity is not the activity that Appium should be waiting for.