Add toNamedQuery method

We are using node-sql along with node-postgres and we thought it would be nice to generate our parameterized query names from this module. It just boils down to a 'name' field in the query result.