Add Dogecoin difficulty hardforks

This adds the code to handle Digishield difficulty calculations for Dogecoin,
as well as correctly setting the switch-over block for when Dogecoin's testnet
difficulty calculations change to enable resets.