Added override to waitForActivity which takes Class<? extends Activity> parameter

as assertCurrentActivity, now waitForActivity can also take Class<? extends Activity> parameter.
Allowed me to find compile-time errors (e.g., typos, deleted classes, etc)