implement X-Mining-Hashrate header

remove midstate extension, seems only used in sha256/scrypt

and prepare noncerange, need a pool which supports that to finish...