add priority to assets
Removing dead code.
Refactor makeOrderLimitSql() query to use paramter binding
Refactor searchSingleContentType() query to use paramter binding
Removed useless bit of code.
Refactor searchContentType() query to use paramter binding
Removing an unneeded parameter.
Refactor getContentByTaxonomy() query to use paramter binding
Refactor decodeContentQuery() query to use paramter binding
Remove useless comment.
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
Merge pull request #1946 from versh23/assets-priority

add priority to assets