Update util.inspect API.

Latest API has an options object as the second parameter
instead of separate parameters. The old API is still supported
so have added the new signature as an overload.

Updated node-tests.ts
Merge pull request #1380 from halfninja/master

Update util.inspect API.