util.php: make worker functions more sensible
Rewrite hashrate graph code to support individual workers
Update hashrate functions to support mutliworker