Added wait_for_window() method

Takes the window title as an argument, and loops using the interval
argument until it timeouts, if specified.

If the window exists before timeout, returns True, if it timeouts,
returns False.