util: more strict check for bool/number/string
vm: fix race condition in timeout

Eliminate a race condition between uv_async_send and the closing of the
corresponding handle.

Also made errors in Watchdog constructor call abort()

Fixes #6088
Merge pull request #1 from joyent/master

update