Enable focusmanager.testmode in Selenium tests.

This forces Firefox to emit change events even when it's in the background.

Note that this only changes the setting for Capybara's own tests. It is an
alternative to pull request #1058, which changed the default for the Selenium
driver.