Quote ranked column name for SQL queries

In PostgresQL databses, a ranked column named "order" will cause
exceptions (PG::Error: ERROR:  syntax error at or near "order") unless
the column name is quoted.
Merge pull request #60 from pehrlich/master

Allow ranking on columns named "order".