Create exporter stub for NamedEntity

Let block inherit from NamedEntity
Add macros for getter and setter

I could not figure out how to do it with templates :-/
Binding for NamedEntity complete

Works fine for Block