Change main unit ID to full URL

To prevent confusion, USHMM asked to change the ID that comes up at the top of the page to be a full URL instead of the short IRN number.
Make unitid 'irn12345' instead of full URL
Use correct unit id, append '#en' to eadid
Replace for-each by templates, remove tabs and space from empty lines