pg_result was PHP3 and died with PHP 4.2; pg_fetch_result is “new”

thanks to PHP4 docs archive and nerville
Merge branch 'Branch_5_1' into Branch_5_2

Conflicts:
	src/common/include/database-pgsql.php
Remove unused functions
Fix (not used yet) getNumberOfHostedProjects to display the full number of projects
viewvc: add missing copyright notice
front-page stats: allow displaying the real number of projects; use consistent counting in /softwaremap/full_list.php
indent
obsolete file
my: remove unused requires
remove obsolete requires
Layout: use util_make_uri vs. util_make_url
indent
Introduce MonitorElement object: helper to play with monitoring elements such as docs, forums, trackers, packages ...
Use MonitorElement: remove a lot of SQL query from the HTML code.
scmbzr: fix typo wrong var
Merge branch 'Branch_5_3'
plugin Mediawiki: cosmetic fix: translation and double h1
Merge branch 'Branch_5_3'
Fix various issues on Fedora
plugin mediawiki: clean up exit functions and html helpers