Provide a helper function for determining dev runtime and use it in the hashmeters used.
Make submit_tested_work return a bool about whether it meets the work target or not.
Merge branch 'master' of github.com:ckolivas/cgminer