change entity hierarchy and streamlined containers.

- AttributedEntities are more general than NamedEntities as a more
general concept. This allows us to reuse more against the single
inheritance hierarchy constraint.

- Containers are now Mutable or Immutable, Bags are gone
immutable interfaces and mutable implementations
Merge branch 'master' of https://github.com/cotrix/cotrixrep