Add RPC call to generate and verify merkle blocks

(based on #5181 as it would otherwise conflict and I'm lazy.)

Adds RPC calls to generate (and verify) merkle blocks which, though verify is less useful for Bitcoin Core, just making them more accessible so that (hopefully) they become useful for people to exchange around would be very nice.

Full Disclosure: This is required to sidechain-related work.
This looks like we require 2 arguments here, block and hash, but its only 1 blockhash, so I would remove the space between the two.