improve nodejs driver for shared data and child process exit

implementing message handshaking between child and parent process.
fix node js unit test

prevent infinite loop when child process sending message.
Merge pull request #133 from bowdev/nodejs_driver

improve nodejs driver for shared data and child process exit