Clean up PHP code for quiz_ddlines module