Misc fixes to worker execution.
Misc fixes to worker execution.

- Fix mis-assignment of 'ms' global that caused nothing to work.
- Add timeout globals to worker context.
- Use new error parsing functions to generate MSG_ERROR events.

iizukanao/node-webworker,pgriess/node-webworker,kriskowal/node-webworker,isaacs/node-webworker