add more info to the getblock rpc call

This updates namecoin's getblock RPC call to return everything bitcoin's does except for chainwork.
bitcoin uses CBlockIndex* blockindex - should stay that way for constancy. You're right about the const, I just tried to update the pull request.