Purge error log messages to support use of E_ALL

Trying to use E_ALL to spot problems isn't very easy with all the messages 'ok' dokuwiki code generates.  This PR uses various techniques to overcome, avoid or suppress the messages.   Pretty well, each commit groups all changes of a particular type together.