mediawiki: Configure 'error' and 'exception' log groups

Also add $wgShowSQLErrors = true;

Bug: 48002
Change-Id: Ia420b2e458808629a31f88c5b54242ec7b0823de