Improvements in CChainParams

Replace direct references to RegTest() with constant parameters on CChainParams interface.
EDIT: dependency merged
@jtimon Are you sure this check is correct? Seems like a hack to use the 0 in ``DefaultMinerThreads()`` to query for regtest mode, no?