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
Merge pull request #11 from henning-gerhardt/update_file_line_endings

Convert file line endings to unix
Unify indent to tab.
Remove useless empty lines.
Cleanup out commented or unused statements.
Use more properties instead of hard coded values everywhere.
Fix bug #13
Merge pull request #16 from matthias-ronge/issue_13_2

Merge: NullPointerException when throwing a DocStructHasNoTypeException (#13)
Fix description and missed indent.
Partial revert of indent change.
Add explicit includeantruntime property with value false to prevent warning message.
More war to jar describtion changes.
Build jar file to dist directory.
Fix #17: remove bad path warnings.
Merge pull request #15 from henning-gerhardt/update_build_file

Update build.xml file
Merge pull request #18 from henning-gerhardt/issue_17

Fix #17: remove bad path warnings.