introduce and use executeAudited in db.php
clean up usage of DatabaseSetupException and catch Exceptions in entrypoints
remove duplicate logging from db.php, now happens in entrypoints
Merge pull request #3654 from owncloud/clean_up_exceptions

Introduce more robust SQL execution and exception handling