add more info to the getblock rpc call

This updates namecoin's getblock RPC call to return everything bitcoin's does except for chainwork.
Please make blockindex const (particularly important since it is a pointer).  Also, my personal preference would be a const reference, although that's just a matter of taste.