use bitcoin wrapper method for getdiff calls
Merge branch 'next' into issue-444-theserapher
use wrapper to fetch last network block
Merge branch 'next' into issue-444-theserapher
API overhaul for easier handling of API calls

* [FEATURE] Allow in-class checking for user permissions
* [FEATURE] Allow in-class creation of the JSON data for coherence
* [FEATURE} Added API version in JSON data for client side checks
* [IMPROVEMENT] Adjusted all API calls to use the new JSON layout

**NOTE**: This is breaking backwads compatibility with the old API!
Please adjust your client application to support this new version.
The data array should not change much more other than added features.
fixing PHP notice when blocks table empty on blockstats
adding account balance to new dashboard via Ajax
fixing PHP warning in crons
removin accidentally added files
adding cold wallet coin display and setting
Also show negative cold coins

Fixes #660
fixing website name in breadcrumbs
[FIX] Properly redirect after login
[IMPROVEMENT] Allow user login via E-Mail
removing unused template
[FIX] Properly prompt for user or email at login
[IMPROVEMENT] Added secondary login box in header
adding DEBUG console
[IMPROVEMENT] Adding incremental round/user shares

This will address #510. It needs thorough testing and is a WiP but
is a start to improve cron runtime and DB loads.
[IMPROVEMENT] Support incremental contrib shares