[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
[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
[FIX] Logic error
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
[FIX] HTTPS detecion on Template
Merge pull request #1617 from HerrKauwer/pwcheck

Cleaned up pwcheck.js
Linked Site-Title

Seems that there was plans to make the site title a link, but the .tpl
was never updated.
Merge pull request #1622 from Zen00/The-Holy-Branch

Linked Site-Title