Reworks that genericize for darkcoin pool

* Get block reward from cached last block reward query, instead of hardcoded. (should be implemented better, kinda a hack for now)
* Allow multiplying all incoming shares by a constant. A fix for allowing fractional shares to be logged.
* Allow an adjustable number of hashes per share being used when estimating hashrate