use regexp detection
Fixing proof-of-stake detection

Fixes #569
Merge branch 'next' into issue-569

Conflicts:
	cronjobs/findblock.php