Introduce a collections object.

Keep all the collections in a central object to take care of sharing
collections and preventing collisions when putting content into the event.
Make FED ids internally consistent.