Fixed #239, wait_for_view_by_id() correctly checks now that the visibility
of the view is VISIBLE before returning a successful result.
Merge pull request #240 from ustwo/issue-239

Fixed #239