throw error when wp-config.php looks invalid

Fixes #992 

@rarst Could you confirm that this error is triggered for you?