[UPDATE] Added failed_pins to base structure
[FIX] Network hashrate in dashboard

Also adds some fixes for hashrate updates on the pool statistics page in
case the API is disabled alltogether.

Fixes #934 once merged.
Merge pull request #936 from TheSerapher/issue-934

[FIX] Network hashrate in dashboard
[FIX] PHP Notice warning