Move macro definition to module for appup sanity

BugzID: 14553
Fix test for compaction retries

Retry is a #btree, not a boolean.

BugzID: 14269
BugzID: 14553
Add total_changes to view compaction status
Disable validation for internal replication
Include view id in view compaction status

The view entry lists the current view being compacted. The value is null
when processing the id btree.

BugzID: 15494