added handling for default_query

This allows all the per-key flexibility and granularity of the previous version but sets aside "default_query" in each .sql YAML file for different keys that will be handled by the same query.