Added CollectionEntity class.

This is for things that are both a collection and an entity.
Added entity schema "validation".
Added basis for container item entity.