Adds a queue container

Adds a queue/FIFO container, considering the feedback given in #2361.
What are the semantics for copy? Value copy? Reference copy? It's currently neither.