Prevent page breaks in table rows.

This was part of a previous PhantomJS release but got reverted
when the Qt source tree was imported. See the old pull request
here: https://github.com/ariya/phantomjs/pull/211

http://code.google.com/p/phantomjs/issues/detail?id=880
Repeat thead and tfoot when table contains page breaks.

This was already done in https://github.com/ariya/phantomjs/pull/211
but somehow got lost when the Qt source tree was imported.

Note that I even improved this patch a bit to also properly repaint
the borders of cells in thead/tfoot.

http://code.google.com/p/phantomjs/issues/detail?id=615
Don't perform on-demand loading of root certificates on Linux

Description:
Qt is performing loading on-demand of root certificates on Linux, which causing SSL errors.

Issue:
http://code.google.com/p/phantomjs/issues/detail?id=882
First import of `ghostdriver.qrc` & related files.

http://code.google.com/p/phantomjs/issues/detail?id=49
Embedding GhostDriver into PhantomJS(!!!)

Finally. After so much work, this is finally a reality.
To launch PhantomJS in "Remote WebDriver mode":

```bash
$ phantomjs --webdriver=OPTIONAL_IP:OPTIONAL_PORT
```

Also, GhostDriver brings along support for Selenium Grid: now PhantomJS can register itself to a Selenium Grid HUB.
Just launch it in Webdriver Mode with the following extra options:
```bash
$ phantomjs --webdriver=OPTIONAL_IP:OPTIONAL_PORT --webdriver-selenium-grid-hub=http://url.to.selenium.grid.hub:port
```

http://code.google.com/p/phantomjs/issues/detail?id=49
Importing latest GhostDriver, tag "1.0.0".

http://code.google.com/p/phantomjs/issues/detail?id=49
Properly use bottom margin to calculate the footer height.

http://code.google.com/p/phantomjs/issues/detail?id=894
Add a spec file to allow creation of an rpm from the (previously built) binary.

http://code.google.com/p/phantomjs/issues/detail?id=897
Stub for 1.8 changes.

http://code.google.com/p/phantomjs/issues/detail?id=863
Added getters for all of the WebPage signal//callback handlers.

Fixes http://code.google.com/p/phantomjs/issues/detail?id=899
Adding 'WebPage#close' calls where appropriate in example scripts.

Fixes http://code.google.com/p/phantomjs/issues/detail?id=903
Removed an invalid spec file and an invalid spec include.

Fixes http://code.google.com/p/phantomjs/issues/detail?id=906
Added CoffeeScript examples where missing, minor other fixes

Added CoffeeScript examples where missing, minor other fixes such as spacing standardization (2 spaces is the standard in CoffeeScript via Ruby). Also a small set of minor JS example fixes and additional comments.

Fixes http://code.google.com/p/phantomjs/issues/detail?id=907
Enable multiple files to be uploaded to a file input

Obviously, the input must have the multiple attribute for this to work.

The API is:

    page.uploadFile('#file_input', ['file1', file2'])

I haven't implemented support for multiple files in the page.filePicker
API because I couldn't work out how to get a return value of an array
of strings through the JS/C++ bridge.

https://code.google.com/p/phantomjs/issues/detail?id=256
Added getters for the WebPage#onError and phantom.onError properties

Fixes http://code.google.com/p/phantomjs/issues/detail?id=910
Fix window.location.

Description:
Web Page can't navigate to a relative url using the property 'window.location'.

Upstream bug:
https://bugs.webkit.org/show_bug.cgi?id=47978

Issues:
http://code.google.com/p/phantomjs/issues/detail?id=632
http://code.google.com/p/phantomjs/issues/detail?id=530
Fix memory leak on linux

We were previously adding the certificates on each instantiation of
NetworkAccessManager, causing memory consumption to grow unbounded.

I have also removed the Qt version check. It's unnecessary as we only
build against a fixed Qt version.

https://code.google.com/p/phantomjs/issues/detail?id=882
Upgrade to Qt 4.8.4

http://code.google.com/p/phantomjs/issues/detail?id=918
Enable WOFF file support.
Background:
WOFF format requires that WebKit should be compiled with zlib.

Related issues:
http://code.google.com/p/phantomjs/issues/detail?id=592
Fix "--webdriver-selenium-grid-hub" CLI parameter.

I had forgotten to update the option parsing code,
and the option was never picked.

Related issue: [GhostDriver #130](https://github.com/detro/ghostdriver/issues/130).