cmd/godoc: only show package documentation for commands
Robert Griesemer authored
Fixed package.txt and adjusted package.html to match
structure (swapped if branches).

Fixes #4861.

R=golang-dev, adg, rsc
CC=golang-dev
https://golang.org/cl/7714043
d74d0b26