Add trigger in xconf

Changes permissions after document is created in db.
Removed empty perNames

Removed empty persNames, a result of a bug in the xpath for alt-names
xql. Pushing to master branch to test bulk upload before it goes live.