[ADDE] CSRF validation for Worker Deletion

* [ADDED] CSRF token checks to worker page
* [CHANGED] Check for both _GET and _POST ctokens
* [ADDED] CSRF token to each delete call URL

Fixes #1702 once merged
[IMPROVED] Check if cron is running in PHP scripts

* Ensures we don't spawn more than one PHP process
* Will require admin-intervention to reset the cron_active flag in DB

Shouldn't trigger often but may help people.
[FIX] Wrong Debit TX type on Manual Payout
[FIX] Insert ID of Payout Request
[FIX] Proper fix for Payout ID #
(#1725) Fix cold wallet check FP and added testnet detection

Without this patch, admin.php checks if it can connect to the wallet service. Regardless of if that check passes or fails, it then checks if the cold wallet address is valid. If the can_connect() test failed, the validateaddress() check will also fail, even if the address is not invalid. To fix this, the validateaddress() check is move to an elseif block in the can_connect() chain.

Additionally, this patch checks to see if the wallet service is running as a testnet. While running as a testnet is perfectly acceptable when testing, the suer should be warned. A lot of folks using the quickstart guide miss this.

A function was added to the Bitcoin class to detect when we are running in a test net. A check was added to admin.php, and the existing can_connect and validateaddress() calls were restructured to solve these issues.
Merge pull request #1704 from MPOS/worker-delete-csrf

[ADDE] CSRF validation for Worker Deletion
Merge pull request #1705 from MPOS/cron-check-active

[IMPROVED] Check if cron is running in PHP scripts
Typo correction.
[ADDED] Validate Payouts script added

* Validate all DB transactions against your payouts in the RPC
* Does not use TXID to search for records but rather a combination of
  address and amount
* May help debugging issues
[FIX] Force string comparision
Merge branch 'validate-payouts-script' into next
[ADDED] More checks for amounts
[FIX] Removed debugging
[FIX] Do not add TXFee with txfee 0
Merge pull request #1726 from j4s0n/fix/next/issue-1725

(#1725) Fix cold wallet check FP and added testnet detection
New Block Notification additions

Adding the block number, finder, amount, and difficulty to the new block
notification email
Consolidating the nocache tags
Merge pull request #1737 from andymornes/next

New Block Notification additions
Merge pull request #1732 from MPOS/no-txfee-check

[FIX] Do not add TXFee with txfee 0