Fix failing annotator login test on OSX

The SERVER_NAME environment variable on OSX defaults to 127.0.0.1 where
on other systems it's localhost. When a user is created the provider
defaults to the request.server_name value, this caused the assertion
to fail.

Secondly, Selenium only returns visible text when using the element.text
property although some drivers (FireFox) seem to return hidden text
also. So now we use dom properties to access the contents of the text
node regardless of styling.
Use 30 second timeout for all WebDriverWait calls

This is to workaround the timeouts in the integration tests in Travis.
Silence the Application logger when running the tests
Add phantomjs to the package.json

This is now used as the primary platform for functional tests until
we can get Sauce Labs running reliably.
Swap out Sauce Labs for a local PhantomJS instance

This should run faster an more reliably for the moment. Working tests
in one browser is better than unreliable tests in many.
Remove unused imports
Wait for sign in link to be visible in tests

This might be necessary because of the delay between opening the
sidebar and the sidebar sliding out fully. Just speculation. This
definitely fixes login tests failing in PhantomJS, though.
In tests, wait for forms to be visible

In addition to waiting for the Sign in button, we should wait for the
sheet to actually appear.

We should maybe re-evaluate using implicit waits for things like this,
as all the wait condition usage is tedious.
Add implicit wait to tests

This should prevent some failures when items are slow to be found.
Remove unnecessary form clears in tests
Merge pull request #1274 from hypothesis/travis-timeouts

Re-jig the integration tests