Improved msgpack type conversions. New CRC implementation.

This addresses the initial problems people have been having with type conversions happening across type size boundaries.