rework hashrate api
Fix inconsistency in user an pool-wide hash rates
Add getblocks api command, add caching, add limitted csv output ability