Added blockhash solution checking

Stratum of @moopless supports blockhash as a solution. Check for that
one first.

Addresses #405