Adding getblockhash rpc command
Renaming rpc getblockbyhash to getblock, for consistency with the other chains APIs
getblock now returns included txs as a list of hashes, just like bitcoind
Fixed a bug when using importaddress and signrawtransaction together
when providing privkey for the latter (it would overwrite mapPubKeys). Made mapPubKeys a field of CKeyStore instead of global variable.
Fixed crashing of previous commit on some RPC commands.
Added getrawmempool RPC.
Fixed daemon=1 crash in namecoin-qt on Linux.
Send-to-hash160 is now favoured over send-to-pubkey. Versions before 0.3.65 sent change from name_op as pubkey sometimes.
Merge pull request #9 from nelisky/nmc/getblock

Renaming rpc getblockbyhash to getblock, for consistency with the other ...
Merge pull request #8 from nelisky/nmc/getblockhash

getblockhash
Merged latest commits from namecoin-qt.