MDL-45273 remove the need for quiz settings.php to include locallib.php.
MDL-45273 only create the quiz settings if necessary.