Changed to PDO for database. Added generic function for getting class from DB. Added beginnings of question and question_instance classes.
More work on questions and better security on generic db functions.
Testing to see if we can get question from DB.
More work on question code.
Basic question rendering ported over from QEMS1
Added ability to update question text.