Refactor makeOrderLimitSql() query to use paramter binding
Refactor searchSingleContentType() query to use paramter binding
Refactor searchContentType() query to use paramter binding
Refactor getContentByTaxonomy() query to use paramter binding
Refactor decodeContentQuery() query to use paramter binding
Refactor hasRecords() query to use paramter binding
Refactor setAuthToken() query to use paramter binding
Refactor getActiveSessions() query to use paramter binding
Refactor deleteExpiredSessions() query to use paramter binding.  This
one could do with a bit of a further clean-up
Refactor login() query to use paramter binding
Refactor loginAuthtoken() query to use paramter binding
Refactor resetPasswordConfirm() query to use paramter binding
Refactor getUsers() query to use paramter binding
Merge pull request #1949 from GawainLynch/hotfix/dbal

Refactor database queries to use parameter binding