encoding/binary: support for varint encoding

R=rsc, r, nigeltao, r, dsymonds
CC=golang-dev
https://golang.org/cl/5146048
4 files changed