remove dead code
'ERROR' -> 'error' (consistent naming: all facilities lower case)
debugger: dump requested global variables to db
consistent debug() calls in low-level sql functions
print $debug status in head
debuglist, profile, logbook: script -> fscript (avoid conflict with global $script)
allow fscript as GET parameter; use it in self-links and inlinks from root_menu_view()
links to profile, profileentry from subproject /cluster