Improved generation of credits box

 - Removes duplication from generation of credits box content
 - Donot generate copyright and imprint links without target or label