add SubRef reqursive apply and updated in model

add all attribute kinds as operations on entities in metamodel.scala