Fix handling of timeout for permissions tests.

See https://bugzilla.mozilla.org/show_bug.cgi?id=1046266

The increased timeout for install_app was already landed on the 1.3 branch because I was getting consistent timeouts on the Tarako.