Adding empty example for round stat integration

Addresses #543
use regexp detection
Fixing PPLNS payouts when exceeding target

Round shares are taken to only match PPLNS target. Round target was not
re-adjusted to reflect the new, lower amount of round shares.

* Fix: Properly adjust round target shares when exceeding PPLNS target

Fixes #588 once merged
Merge pull request #595 from TheSerapher/issue-588

Fixing PPLNS payouts when exceeding target
fix coloring of total percentage
Merge branch 'next' of github.com:TheSerapher/php-mmcfe-ng into next
Initilize totals with 0 values

Addresses #596
Fix rounding issues on total row

* Use actual percentages to calculate the total to ensure
  the rows average matches the totals average

Fixes #596
Merge pull request #597 from TheSerapher/issue-596

Issue 596
fixing color of total percentage again
Update POOLS.md

Added @nutnut pools
Fixing combined hashrate graph

This shouuld fix #598 with graphs being completely off
Merge pull request #599 from TheSerapher/issue-598

Fixing combined hashrate graph
Adding QRCodes under Accounts

* Added: API String QR Code for #582 and #591

This will allow more QRCodes being added that are specific to an
account. The require library is added and the API string can be used as
an example how codes are generated.

Fixes #582
fixing worker activity on mobile template
Fixing notification reset for active workers

Fixes #600
Merge pull request #601 from TheSerapher/issue-600

Fixing notification reset for active workers
Added: getuserbalance API call

* Adds getbalance to API
* Admins: Can fetch any users balance
* Users: Can fetch only their own balance

Fixes #605
first test to fill with data
Fill empty hours with proper data

* Properly sort the array prior to sending it back
 * Sort from current to one hour earlier for proper data display
 * Adjusted templates to use new sorted arrays

Fixes #606