Deprecated createQuery methods on Sql2o class.
Updated some tests to not use deprecated API. TODO update more tests.