fix creating uiinfo with wrong type of entity
cleaning extendmetadata tbl from duplicates
Merge pull request #138 from Edugate/develop

extend mdui fix