Tidy up "pkg.php" XHTML

Move SCRIPT tags out of the TABLE tag
Add CDATA section to SCRIPT tags
Close INPUT and IMG tags and add ALT statement to IMG tags
Update HTML boolean operators
Move NOWRAP to class statement
Deprecate ampersand in ANCHOR tags
Add missing closing FONT tags
Swap closing TR and TD tags