new to/from Obj. WIP
test passing.
formated using js-beautify
formated using js-beautify / tests
Merge pull request #452 from matiu/feature/txproposal10

TransactionBuilder .fromObj .toObj rewrite