Fix unit test
Use Selection API to get document IDs.

Now Apps can set selections to whatever they want, and the document list
will match it.

[refs #79394772]

Unfortunately, tagging doesn't work.
Make TagController use (Selection|Document)Backend

[finishes #79394772]
[finishes #76355932]