Stub Capybara::ModalNotFound for Capybara < 2.4

* The modal API was introduced in Capybara 2.4, so older versions won't
  follow this code path.
Add deprecation warnings to legacy window methods

* Capybara 2.3 provides a new window API.