Correctly double-quote variables

Also remove useless use of eval and use `[[` instead of `[` (no matter which one you use, at least be consistent).
Expand ~ in Alfred's syncfolder preference string
Merge pull request #6 from Tyilo/patch-1

Correctly double-quote variables