Create less IO errors to improve efficiency of require (forwardport of #8189)

In some environment (especially when coffescript is involved) module.js
will spend a lot of time looking up nonexisting files. This is caused by the
lengthy error creation. Those errors are then immediately caught.

This change makes the lookup much faster, by avoiding the unnecessary error
creation.

module::statPath now uses the new second parameter of fs.statSync function of the
fs.js. There is a similar change for the fs.stat, adding the third parameter.

This is the forwardport of https://github.com/joyent/node/pull/8189
The only prevention from not needing to do a full `uv_fs_stat()` is if there's a `null` character in the string. While technically it's correct that the file cannot exist if the path contains a `null` character, we shouldn't break backwards compatibility, and functionality that's uniform across all other `fs` functions, by returning `false` instead of throwing.