Merge pull request #198 from kanoi/stats API add getwork stats to cgminer - accesable from API 'stats' - and devices can add stats also