New JSON RPC commands

New JSON RPC commands:
getlastblock
getblockbyhash
getblockbyheight
gettxbyhash
gettxheaderbyhash