Fix RawBytes test failures for new coders.  All new tests pass.

Also updated TypeEncoder so that we can flip back and forth
between the old and new encoders.

MultiPart: 1/2
Change-Id: Ia24478fb5f0cd923464ff8ceed1e03324e17ab64
17 files changed