[CB-3435] Fixes a problem where the options in the run command were not escaped properly

Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>
[CB-3613] Format paths passed to childProcess.exec for windows

Revewied by Jeffrey Heifetz <jheifetz@blackberry.com>
Tested by Jeffrey Heifetz <jheifetz@blackberry.com>