Merge pull request #82 from JahPowerBit/develop

fix 'final_fee' referenced before assignment when unspent empty
misc. minor tweaks
improved private key CLI logic
standalone tx signing
do not assume counterpartyd has a last_message
silly errors
Merge branch 'develop' of https://github.com/PhantomPhreak/counterpartyd into develop
added `source` to btcpay, cancel API call params; redid cancel, btcpay logic; fixed and renamed unconfirmed inputs logic
minor bugs; tweak unlock logic
redo reorg. logic
replenish fee_required_remaining
shortened some error messages
redo reorg. logic again
replenish fee_required_remaining only with 297000
bug fixes and clarifications
fixed NoneType error with broadcasts
bug in new reorg. logic message and log
bug in calculation of holders
bug in calculation of holders
simplified version checking