*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
Swap parameters of sendrawtx_MP to make reference optional

Small fix: redeemtion address was never set.

The basic idea of the swap: not every transaction type requires a reference output.
moved mastercore.log for datadir, will be trimmed if becomes too large ala bitcoin
merged in changes from michael-0921
Merge pull request #119 from dexX7/mcore-swap-sendrawtx-arguments

Swap parameters of sendrawtx_MP to make reference optional
touch-ups on the log file move to datadir