[FIX] Do not use Block Height to fetch prev block

This should fix issues with orhpan blocks followed by real ones with the
same height.

Fixes #715, attempt four!
[FIX] Removed debug exit
Merge pull request #835 from TheSerapher/issue-715-block-id-fix

Issue 715 block id fix
[FIX] Defaults via Smarty for empty settings
[FIX] Skip uptime robot with defaults set

This will skip any updates if we detect the default string in our
settings table. Otherwise the script will return an error and disable
itself.

Fixes #839 once merged
Merge pull request #840 from TheSerapher/issue-839

[FIX] Skip uptime robot with defaults set
Merge pull request #838 from TheSerapher/issue-837

[FIX] Defaults via Smarty for empty settings
[FIX] Class Warning on new pools
[FIX] Name of Uptime Robot Setting
[UPDATED] Query improved for first blocks time
[FIX] Skip payouts until block has a share_id
[ADDED] Pool name to dashboard API
Merge branch 'next' of https://github.com/TheSerapher/php-mpos into next