Ensure /usr/local/bin is before /usr/bin.
Hg and Git guidelines for commits.

Includes a few other smaller changes, as well.