[tests] move mocktime property and functions to BitcoinTestFramework