support overrite/customize generate blocks, from lotto requirements

Lotto have requirement that miner need to generate/add info (secret, revealed_secret) as transaction, and add to blocks.

So to support override "create_test_genesis_block" and "generate_next_block".