Implements phantomjs.defaultErrorHandler()

Updated also the list of API to implement to be compatible
with PhantomJS 1.9.
Implements fs.separator and system.os.isWindows
Implements fs.split() and fs.absolute()