regtest : specify timestamp of created blocks

Add a third parameter to setgenerate in -regtest mode that
sets the timestamp for created blocks.

And returns hashes of generated blocks in -regtest mode.