*refactored updateSP to use the CoW methodology
*added a method to pop a block off the top of the SP levelDB
*added the concept of a watermark to the whole database as we are not necessarily storing anything per-block
*added a method to destroy and remake the database for full reparses
*refactored the best effort persistence loading to sync up the SP database to the persistence files
*refactored init to make sure there are no artifacts from partial persistence restoration during a reparse
added data input for SP creation and update blocks, fixed bugs dealing with danlging iterators (not freed)
merged michael-0921 into branch to update
Interim checkin for testing purposes:
* when blocks are disconnected from the tip we flag for recovery mode
* when a block is added to the tip and the recovery flag is set we do a soft re-init
added in code to remove stale txlist entries when blocks are popped.  Made sure to nuke state before a reparse from exodus in the case of not reading persistence files.  Credit for both bug finds goes to @faizkhan00
merge in of changes in michael-0921 @e9d020d7f9b
added a regtest mode test script to trigger a reorg that invalidates an otherwise valid send
modified forking script for regtest mode tests so that it is not hardcoded to /home/faiz and does not use cpulimit
merge in michael-0921
Managed script + generator
Merge branch 'reorg-mitigation' of github.com:wanderingbort/mastercore into reorg-mitigation
Small fixes
Final script managed
revert input change
Add revoke/grant script
merged in changes from michael-0921
Merge pull request #109 from wanderingbort/reorg-mitigation

Reorg mitigation