Add custom QPA plugin to use for phantomjs.

The Qt offscreen QPA plugin doesn't provide everything, phantomjs
needs. thus this commit introduces a custom plugin. Mostly this is
just porting the platform plugin phantomjs already had in the qt4
version, just this time seperated from Qt in phantomjs' source tree.