Rewrite of the Guestbook example in Go

This is a Go version of the Guestbook example. The readme has been ported over from the existing one.

#1271
These three lines are repeated many times. Turn it into a function so that any other common headers that we want to set on json responses can be captured in a single place.