[IMPROVED] Ignore locked account shares

* Updated getRoundShares to honor locked accounts
* Updated getSharesForAccounts and getArchiveShares

This will fix #1332 and ignore locked user accounts in share
calculations for payouts.
[ADDED] Account lock status

* Lock 1: user confirmation/unlock pending, count shares
* Lock 2: Admin disabled, ignore shares

This further addresses #1332 and should allow proper dropping of shares
for banned accounts.
[FIX] Lock state 2 for admin locks
[FIX] API call for transactions

Fixes #1602 once merged.
Merge branch 'next' of github.com:MPOS/php-mpos into next
[WORKAROUND] Fully debit user before RPC call

* First debit the user fully for this transaction
* Try the payout RPC call
* Fail this so admins can first confirm it worked, then force payouts
* Added comment what line to remove if this happens a lot

This will further address #1586
[FIX] Transaction ID and RPC Transaction ID
[FIX] Reset TX and RPCTX Ids
Update README.md

Added phone apps.
[FIX] Logic error
[ADDED] THash/second modifier
[ADDED] Check if master is read-only

Just to ensure we can run at all.
Merge pull request #1605 from MPOS/thash-modifier

[ADDED] THash/second modifier
Merge branch 'master-read-only-check' into next
[FIX] Do not assign smarty vars if caching hits
Merge pull request #1608 from MPOS/admin-wallet-smarty-cache

[FIX] Do not assign smarty vars if caching hits
Cleaned up pwcheck.js
Merge pull request #1603 from MPOS/double-payouts

Double payouts
Merge pull request #1457 from MPOS/issue-1332

Issue 1332
[FIX] Proper HTTPS detection

Fixes #1618 once merged