Merge changes Ibed6cdd4,I51e3c00d,Ibf37f94b

* changes:
  Update toString() to use the correct request
  Update requestsSortedById() to sort by collection
  Allow a way to track the active request in an NRI
tree: 08dd65ff6ab73ab5b44bc061f66757d437c4f375
  1. core/
  2. services/
  3. tests/