New encoding for OpenTSDB tag values (and metric names).

Change-Id: I0f4393f638c6e2bb2b2ce14e58e38b49ce456da8