Added retargetting on a block by block basis

This should assist with multipool hashrate distortion - note: no gravity
well currently in place.

Needs to be tested on the doge testnet.