Better support for installation from paths with spaces

Better support for installation from paths with spaces. Corrected issues with path trimming regex and surround path parameter for casperjs with single quotes.

Resolves ronaldlokers/grunt-casperjs#29