Changed mysql wrapper to accommodate "in" type queries. The api now supports querying for different questions in a questionnaire