This fixes a stderr redirection test on fast machines. The write pipe was
getting closed before the redirection thread had a chance to copy it's
contents into it.
Qt 5 moved to ubuntu-sdk-team PPA

* Fixes build issues on Travis
Ignore .idea directory
Bump selenium-webdriver dependency