text: add import comments.

Change-Id: Ifdb6e8b968ae432c1e4c703c25ae034382c94cc9
Reviewed-on: https://go-review.googlesource.com/1243
Reviewed-by: Andrew Gerrand <adg@golang.org>