Update TravisCI to use Go 1.2.

Also fix a comment typo in doc.go under the custom formatter section.