Update lib.php

Added in a troublesome issue that was causing the jMeter Quiz to fail.  Also added an error_log was added to help troubleshoot additional question types that are unsupported.