add more info to the getblock rpc call

This updates namecoin's getblock RPC call to return everything bitcoin's does except for chainwork.
Even if Bitcoin has just CBlockIndex, please make it const.  I consider it "almost a bug" if, especially pointers, that could/should be const aren't.