wrote first iteration of SQL subquery builder
Merge branch 'osms-attributes' into metadata_backend_queries
Added INNER JOIN to all queries to accommodate the &queries=<>
stuff.

Added support for querying custom:
      Basically query the db for all custom
      attrs with the uri. Check to see if the
      usr wanted that returned, if so append it
      to the dictionary.