Added sanitization and encoding to questions

- Fixes questions that had ? or other non-standard characters that
would not get inserted into the DB.