Merge pull request #1 from TheSerapher/next

Merge next
Merge remote-tracking branch 'upstream/next' into next
[FIX] Removed uneeded shares data
[FIX] Fixed issues with uncached user shares data
[IMPROVED] Adding customizable error page to MPOS

* `.htaccess` is used to re-define the error documents
* redirects to `index.php?page=error&action=<code>`
* does not work for MPOS inside subfolders yet

Addresses #734. If this works we can add this to all the other themes.
[FIX] Fix donors, missing closing th tag
[FIX] Honor top share contributors limits
[FIX] Active worker count method

* Mmodified Query to properly return total active workers

Fixes #740 once merged.
[IMPROVED] Show usernames in contrib lists if admin

Addresses #737
[FIX] Added admin check to all templates

Fixes #737
Merge pull request #741 from TheSerapher/issue-737

Issue 737
Merge pull request #3 from TheSerapher/next

next
pplns-stats, block-stats paging, dynamic and reverse payout
Merge pull request #746 from TheSerapher/issue-740

[FIX] Active worker count method
Merge pull request #747 from TheSerapher/issue-739

[FIX] Honor top share contributors limits
[IMPROVE] 404 handling

* [ADDED] Error/404 templates to mmcFE & mobile themes
* [IMPROVED] Make 404 default error with unknown page parameter
[FIX] Contirbutor detection

Fixes #745 once merged.
[FIX] Next attempt to fix #745
Revert "[FIX] Next attempt to fix #745"

This reverts commit d3d183cfe0cecbf69d49eb1d5c2f8be4537d5d86.
Merge pull request #748 from TheSerapher/issue-734

Issue 734