Implemented saveQuiz for creating and editing a quiz.
Open issue: Strings are not encoded properly leading to escape strings being saved into the database.