Adding 3rd party Scrypt library

This will allow us to start checking a blockhash against a solution
submitted to the database.

Details on this in the ticket. Just a WIP to save file states.

Addresses #405
Adding solution detections for blocks

This will finally fix all block finding issues with a 4 way detection.
The find upstream method will continue to try other ways to find a
proper share until they are all exhausted or a match was found.

* Use stratum solution, create scrypt hash from block header
* Use pushpoold solution, create solution string from block header
* Use first available upstream share in timerange of block time
* Use *any* first available valid share older than time of block

This will fix #405 - no more unknown blocks. Ever.
removing debug output
Adding share type to log output

This will display which detection mechanism caught the share.
Fixed stratum detection

Fixes #405
Added blockhash solution checking

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

Addresses #405
fixing issue with upstream shares not being found
Merge pull request #411 from TheSerapher/issue-405

Issue 405