Put /usr/local/bin at the front of the path.

For homebrew.
Fix a few syntax problems.

I think these were introduced by my experimenting with Sublime Text 3. It looks like I've got this back into a working state for Sublime Text 2.