Tidy up "pkg_mgr_installed.php" XHTML

Add closehead variable and move scripts into HEAD and manually close HEAD
Add missing close FONT tag
Close BR tags
Move NOWRAP to class statement
Deprecate ampersand in ANCHOR tags
Change target in ANCHOR tags to "_blank"
Add ALT statement and close IMG tags