TxBuilder refactor to split format (#210)
Complete TxBuilder refactor including all tests. Various related fixes as well. Commits: * TxBuilder refactor to split format Contais only rust crate updates Tests are commented out for now as there are thousands and thousands of lines of them. * tx_builder tests now compile Unfortunately only 67/94 are immediately passing. We will need to look into them one by one but a lot seem to be issues with min ADA/fee calculations which could have to do with CBOR size differences. * Fixes for tx_builder failing unit tests Bugs fixed (affecting non-test code): * script data hash calculation was not following encoded binary (where it should - redeemres/datums). * AssetBundle::checked_add() was broken and would duplicate some assets. Bugs fixed (only tests): * datums in old CML defaulted to indefinite when non-empty to mimick cardano-cli. this impacted several tests e.g. cbor size / hash differences * ordering in assets changed (used to be sorted) causing some differences. test updated to use old order * default to always using minimal tx out encodings to mimick old code (and reduce cbor size). this was causing cbor (and thus hash) differences with old CML tests. * AssetBundle::get() would return 0 for no asset but now does None. updated test to not panic there. * some tests were incorrectly refactored calling create_aux_with_metadata() and thus adding extra metadata * some tests had fees smaller now due to no default indefinite encodings