Make block count on stats page configurable

Fixes #549
Skip proof-of-stake blocks in findblock cron

* Do not add proof-of-stake blocks to database

Fixes #569
Deduct TXFee from transferred balance

This should fix #568 as proposed by @nicoschtein
Honor anonymous flag on mobile template

Fixes #535
Fixing worker hashrates and activity status

* Fix hashrate calculations and include archived shares
* Fix worker activity to only check for our_result = Y shares
* Mark as active if worker has a hashrate > 0, removes a query

Addresses #561, crons need to be updated to remove the active flag from
as the worker activity and check the hashrate instead.
Fix IDLE worker detection

* Also mark as IDLE if no valid shares were received

Fixes #561
Update findblock.php

* fixed typo
Merge pull request #572 from TheSerapher/issue-569

Issue 569
Merge pull request #573 from TheSerapher/issue-549

Make block count on stats page configurable
Merge pull request #574 from TheSerapher/issue-568

Deduct TXFee from transferred balance
Merge pull request #575 from TheSerapher/issue-535

Honor anonymous flag on mobile template
Merge pull request #576 from TheSerapher/issue-561

Issue 561
Fix user seeing other users transactions

Fixes #577
Merge pull request #578 from TheSerapher/issue-577

Fix user seeing other users transactions
Fix blockexplorer links to use blockhash not height

Fixes #571
Merge pull request #579 from TheSerapher/issue-571

Fix blockexplorer links to use blockhash not height
adding round shares back to PPS sidebar
Merge pull request #580 from TheSerapher/issue-524-pps-round-shares

adding round shares back to PPS sidebar
Adding transaction summary by types

Addresses #581
admin should see all transactions in summary