Improvements in CChainParams

Replace direct references to RegTest() with constant parameters on CChainParams interface.
EDIT: dependency merged
@jtimon Can you take a look a few lines below at ``GenerateBitcoins(fGenerate, pwalletMain, 1);``. We use the supplied 1 as thread-number, so ``Params().DefaultMinerThreads()`` seems totally unused at all.