Add NamedQuery for getting collections to audit
The AuditConfigurationContext has a Timer which runs periodically if automated auditing is turned on. In it we have some logic to figure out which collections are past their last sync time. This can easily be offloaded to the database, simplifying the implementation in the configuration context.