Improvements in CChainParams

Replace direct references to RegTest() with constant parameters on CChainParams interface.
EDIT: dependency merged
That's the point of this PR, not to have to check for regtest at all.
Right now the default is 0 for main and testnet, and 1 for regtest. But now you can create a testnet2 or regtest2 which defaults at 5, for example.