Refactored the driver constructor for readability
Wrap JavaScript errors on NodeJS process side into PHP's DriverException
Merge pull request #73 from aik099/72-create-exception-wrapper-for-nodejs-process

Wrap JavaScript errors on NodeJS process side into PHP's DriverException
Merge pull request #76 from stof/contructor_refactoring

Refactored the driver constructor for readability
Added a DriverException when calling an action on an invalid XPath
Added resetting of the native refs when changing page