Add support for BigInt pickling/unpickling.

Adds a Pickler/Unpickler for BigInts, borrowing (very) heavily from the BigDecimal code from #36