Improve MySQL compatibility

Use `exec_query` instead of `execute` so that queries against a MySQL database return a hash instead of an array. This change doesn't affect PostgreSQL compatibility.

I finally figured this out thanks to a [StackOverflow answer](http://stackoverflow.com/a/10916149/158028) after trying to figure out why question results were coming back as arrays instead of hashes from my app's MySQL database.