doc: fix typos and trailing spaces

R=golang-dev, adg
CC=golang-dev
https://codereview.appspot.com/8285044

Committer: Robert Griesemer <gri@golang.org>