Remove openssl depenency for libcrypto.a.

Now you will need to explicitely call `make openssl all test` to run the
miner.
Remove dependency on stdint.h.
Sanity check argv.
Add hexdigest function.
Use hexdigest method instead of printf.