CValidationState framework
Treat coinbase value violation as DoS
Add disk space checks before flushing CCoins cache
Improve dealing with abort conditions
Deal with LevelDB errors
Merge pull request #2224 from sipa/valstate

Improve error handling during validation