Installation from paths with spaces was caused casperjs symbolic linking issues. Corrected path trimming logic.

Resolves ronaldlokers/grunt-casperjs#29
Merge pull request #39 from jatin-/issues/29

Better support for installation from paths with spaces