[CB-3435] Escape paths to prevent issues with spaces

- escape paths passed into plugman
- add quotes to paths in shell scripts
- use short directory names in windows bat files

Reviewed by Bryan Higgins <bhiggins@blackberry.com>
Tested by Tracy Li <tli@blackberry.com>