go.talks/pkg/present: include line numbers in output HTML

Also refactor HTML code generation to be line and template based.

R=golang-dev, dvyukov, r
CC=golang-dev
https://golang.org/cl/10539043
2 files changed