Refactor proof of work related functions out of main
move pow constants to chainparams
replace ComputeMinWork with CheckMinWork
Decouple UpdateTime from pow