support :wait option in `assert_selector` and `has_text?` matcher

closes #1105
Merge pull request #1111 from nashby/issue-1105

support :wait option in `assert_selector` and `has_text?` mather