Fix typo in variable: execexecTypeOpt -> execTypeOpt.
Stop the page before trying to load a new URL, otherwise our callbacks get confused.
Set pageLoadNotTriggered in onLoadFinished as well.
This is a defensive step, in case there is a catastrophic mixup with the event handlers.
Implement #149: Phantom CLI args via Capabilities

Example Usage to accept self-signed certificates:
String[] args = { "--ignore-ssl-errors=yes" };
capabilities.setCapability(PhantomJSDriverService.PHANTOMJS_CLI_ARGS_CAPABILITY, args);
Automate Artefact Upload to Sonatype OSS Repo.

From now on, to import PhantomJSDriver in your Maven project, just add:

<dependency>
  <groupId>com.github.detro.ghostdriver</groupId>
  <artifactId>phantomjsdriver</artifactId>
  <version>1.0.1</version>
</dependency>

Source and Javadoc is also uploaded.

Fixes #142.
Updating version info in README file.
More version and requirements info in the README.
Schedule the pageLoadNotTriggered timer *after* script execution.

If the target function loads the page, then this will be completed by the
time pageLoadNotTriggered is scheduled. So the effect is to make
_execFuncAndWaitForLoadDecorator more deterministic (since any synchronous
loading will definitely be detected and handled correctly).

Tidy up comments:
* Clarify some of the circumstances in which onErrorFunc might be called.
* Fix mistakes in comment.
Merge remote-tracking branch 'upstream/master' into 149-cli-args-capability
add code documentation and refactor for consistency
Merge pull request #147 from garyd203/page-load-cleanup

_execFuncAndWaitForLoadDecorator cleanup
Regenerated PhantomJSDriver 1.0.1 with Java6
remove unnecessary javadoc

public static final values are exposed in the javadoc automatically
Merge pull request #154 from c089/149-cli-args-capability

Implement #149: Phantom CLI args via Capabilities
Bumping version to `1.0.3-dev`.
Java Binding Jars, version "1.0.3-dev".

I have also released those bindings for "early adopters" on the Maven Central repo.
Use locally running Selenium Debug-Server.

To run the server, checkout/clone Selenium and run: `./go debug-server`.
Make sure file exist before attempting upload.

Fixes #158.
Merge branch 'detro' into thumb

Conflicts:
	src/session.js