Revert "stake performance fix"

This reverts commit 80027882fbb85e4eb2443712402b5ea7149ee141.
Removed some formatting,
restored copyright notices,
some non-functional changes
Rewrite block reward functions
Fix account balances calculation
locks exhaustion fix
Add trust score calculation switch at 20 Sep 2013

Conflicts:
	src/main.cpp
	src/main.h
Remove PoW CPU miner
Stake checkings refactoring
Remove MINOUT checkings for coinbase transactions since 20 Sep 2013
Remove PoW-miner related RPC calls
Remove PoW-miner related code
Add stakepower into getmininginfo output (EXPERIMENTAL)
Switch stakepower to available coin*age instead of spent coin*age
Fix trust score calculation segfault on testNet
fix
Add network PoW speed and Stake weight estimation into getmininginfo
Set correct stake spacing
Fix memory exhaustion
Fix local stake weight calculation
Modify PoW trust score calculation