Add rollback last output functionality

Note that this does not include the transaction finalization which is
part of the rollback last output procedure in the opentransactions
wiki.
Right, we should really check those as well. I've made it difficult for myself to do that, since the I've created credits that has no address or pkScripts - in order to make the tests simpler. I'll give it a go an see what I can come up with.