Restores child process exit behavior.

The Node.js `ChildProcess.exec` callback gets called after the
child process exits. This change moves the "on exit" code inside the
callback and removes the polling behavior. Seems to be working on the
Lexitron.
Merge pull request #16 from mildmojo/fix_process_exit

Restore child process exit behavior