CORE-4876: Changed format of DR query template
- removed negated metadata 
- expanded metadata into md attribute and md value, which are separate
- changed created by search to owned by search
- updated query builder and unit test to match.