Fix typos in documentation and code.
Merge remote-tracking branch 'remotes/bradh/typofixes-2014-03-10'