Tighten timing checks and clean up the divide by zero drama

This should bring us up to 9.1.1 give us a working catcoin again, now with better timewarp detection, and a 'block maturity' feature that requires miners must have a timestamp at least 30 seconds after the previous block.