Added and used DoublyLinkedList<T, TRAITS>::Apply/ApplyUntilTrue. Used from all
concrete container types.