Document the use of a tag as a range specifier in dependencies

Closes #5855
Closes #5936