Long live PhantomJS 2!

https://github.com/ariya/phantomjs/issues/10448
Qt 5 base: Fix permissions of some files.

https://github.com/ariya/phantomjs/issues/10448
Correct the unit tests of PhantomJS version.

https://github.com/ariya/phantomjs/issues/10448
Disable some failing and/or crashing unit tests.

Also, reorder the tests since webpage-spec.js seems to be sensitive to
any previously executed tests.

https://github.com/ariya/phantomjs/issues/10448