Working AuxPoW implementation. Needs more testing but looks good so far.