Added waitForTextToAppear() with an explicit timeout

There's a method for waitForTextToDisappear with an explicit timeout, but not for waitForTextToAppear