#386 Intermediate commit wich converts composite relations to entityRevision to single and fixes some cascading issues
#386 Fixed entity table provisioning