Added RPC call ‘getmemorypool’ to get list of transactions that would be included in a generated block.
This is useful for any program that wants to create its own generation transaction while mining.
P2Pool recently generated its first block, and this patch would let it include transactions.