rewrite the payin loop in SQL
after a crash don't rerun the stages that were successfully completed
add some log messages
run a DB check at the end of the payout loop
drop the `pending` column
update tests
improve test coverage of gittip.billing.exchanges
update test fixtures
fix VCR replay