The port of rename file was deleting files, which kind of makes
creating a bundle difficult!
I wrote a mini-test suite to test most of the system specific
functions, this can be invoked via command line ../agents/iguana
OStests or via compile time -D IGUANA_OSTESTS
reworked internals for basilisk/history api by using iguana/balance api
and sendtoaddress uses this data. tested finding and using utxo in
completed bundles, and also in the RT bundle. Left to test are
detecting a spend of RT bundle in the RT bundle. also amounts and
txfees are a bit off, but basic sendtoaddress should work in all cases
other than bugs
left to do is to lock utxo after being used so multiple tx per block
can be sent, otherwise the same utxo could be selected and that is
invalid