Fix typos with codespell.

I ran codespell (https://github.com/lucasdemarchi/codespell) over the
documentation and reviewed every error individually.
Merge pull request #1333 from whatevsz/doc_typos

Fix typos with codespell.