[FIX] Exclude invalid shares from statistics

* Hashrates
* Sharetes
* Time Graphs

Fixes #797
Merge pull request #798 from TheSerapher/issue-797

[FIX] Exclude invalid shares from statistics