Parse verifyFlags from script and tx JSON tests. In addition to P2SH (previously known as enforceP2SH), NULLDUMMY is implemented.

Update all script and tx JSON tests from Bitcoin Core.
Add Wallet.trim(), as an attempt to conserve memory.