Change _execute_sql, fetch_results, and direct_result to methods on Query
Make merge_extents and fix_extents_overlap be methods of Query
Move flask.g._should_explain and flask.g._sql_profile to be members of Query
Remove spaces around equals sign in kwarg
Replace use of dict.has_key with 'in'.
Don't try to UTF-8 decode the GET query parameters.
They've already been turned into unicode strings for us.
Revert "Make merge_extents and fix_extents_overlap be methods of Query"

This reverts commit 2043cf5ae187a9cf3bde77b41d7556645b297604.
Rename Query._execute_sql to Query.execute_sql
Refactor Query a bit to get rid of the need for flask.g in SQL profiling. Closes #114.