Add difficulty field to getblock / getblockbycount.

Add the difficulty as new field in the JSON representation of a block.
See https://github.com/namecoin/namecoin/issues/112.