Move guts of MBigDecimal to common/types.

It does not depend on other MCOMPAT types or have other MySQL assumptions built-in, other than the chosen byte encoding, which actually seems about as reasonable as any other BCD.

Nothing prevents another bundle from using another encoding, but this makes it our common default.