Move encoding into util/encoding.

Summary: encoding is too prominent at top-level

Test Plan: go test

Reviewers: andybons, petermattis

Reviewed By: petermattis

Subscribers: team

Differential Revision: http://phabricator.cockroachdb.org/D144