Replace unreliable exec('open') with the cross platform open npm module.

This pull request adds the cross platform open npm module, and replaces the mac only exec('open') command.