Preliminar support for instantiation.
CHANGELOG:
- Added a Copy method to EntityDef;
- Added a method to instantiate an entity type from an entity definition.