fixes #806

fixes #806
fix for #813
prevent logging class from choking on corrupt log
prevent login from failing if logging class fatally fails.
Merge branch 'hotfixes'

Conflicts:
	admin/health-check.php
	admin/inc/login_functions.php
	admin/install.php
	admin/settings.php
	admin/support.php