Reflection support

Several functions support reflection for ecore objects. These reflect the corresponding functions in EMF itself.

For EObjects:
For EClasses: