Create upwards pointer in first referenced element and remove self refs

Fix for bug goobi/goobi-production#269
Merge pull request #12 from matthias-ronge/issue_production_269

Merge: [ZM] Problems with mets-pointers in issue file ⅠⅠ
Convert file line endings to unix