Added the getLastValid function for findblock cron
Updated findblock cron to use block->getLastValid
[FIX] delete whitespaces in api keys
Merge pull request #1890 from mxaddict/master

Pull request for findblock cron fix, related to orphaned blocks.
Merge pull request #1896 from iAmShorty/uptimerobot-trim-whitespaces

[FIX] delete whitespaces in uptimerobot api keys