Fixing some signature on top of source files.
Formatting in "hub_register.js"
If "onsubmit" doesn't bubble up, still succeed.

When a form submit is "swallowed" (for example
`<form … onsubmit="return false;"></form>`),
that should still return correctly.
Swallowing the event is not an error.
Adding support for NULL key.
Merge pull request #115 from jimevans/sendkeys_fixes

Adding support for NULL key.
FIX: "setOneShotCallback" should return values.
File uploading sends HTTP Res. at the right time.

I was sending the HTTP response too early: it
has to be sent AFTER the "onFilePicker" is done.
The easiest way it to do it in a "setTimeout"
so that it's executed on the next event cycle.
W3C WebDriver specs requires UUID for Sessions.

Specs can be found [here](http://www.w3.org/TR/webdriver/#creating-a-session).
Found the root cause of many crashes.

The method "QObject.signalname.disconnect(fund)" has issues.
Sometimes DOESN'T disconnect the Signal for real, even if it says it did.
This causes the "onShotCallbacks" (i.e. "onLoastStarted", "onLoadFinished"…)
fire again after they have been already consumed and disconnected.
The Qt MetaObject tries to invoke them, and causes a crash (as the actual pointer to the SLOT is actually gone).

Hence, I have made a workaround.
Callback handlers for those events are registered only
when the page is created: after that I add/remove
my own "OneShotCallbacks", using the actual
callback handlers as proxy to those.

Fixes multiple issues: #105, #113, #111, #109, 
Some more Navigation Tests (for the fun of it).
Updating Atoms after Selenium 2.26 was released.
Updating Gradle build to use Selenium 2.26.
Small update to the `import_atoms.sh` script
First `export_ghostdriver.sh` script!

This script is to export into PhantomJS the source of GhostDriver.
It also takes care of generating the `ghostdriver.qrc` (Qt Resource File) to include GhostDriver as Resource Files into PhantomJS.
Generate `lastupdate` while `export_ghostdriver.sh`

At the end of execution, `export_ghostdriver.sh` generates a `lastupdate` file that contains:
- timestamp
- the current HEAD of the GhostDriver branch that we are exporting from
Ensuring we don't have a recursive 'ghostdriver.qrc' file
Avoid listing directories into `ghostdriver.qrc`
Changing default port to `8910`.
Error handling when registering to a Sel.Grid HUB.
A bit of `try…catch` to make error-shutdown smooth