Add 'chainwork' to getblock

Returns nChainWork from the block index, the total work done by all blocks since the genesis block.

Worth exposing for pedagogical reasons at the very least.

Anyone who tries to bikeshed either the name or the format the value is returned in will regret it - I'm warning you.