Fix for footer getting squeezed due to floating elements.
Use db_query_bound instead of db_query
remove use of db_affected_rows
no longer required to turn db debug off on manage user page
Remove references to adodb from admin/index.php
Remove use_persistent_connections for db options
Improve bugnote_get_field - similar to bug_get_field
Remove un-needed php compatibility functions
Add check for status of magic quotes runtime
remove ADODB
adodb replacement Database API for mantis
Update error handler - this generates less issues with xhtml then the previous stuff, and supports exceptions etc
Remove use of db_query() from sumamry api.
We can't rely on the output of num_rows for select queries like we used to
Fix warnings generated by logging api
call db_query_bound instead of db_query
Refector out some more calls to row_count
view_all_set.php: use header redirect instead of meta tag refresh
Rename Array() calls to array()

Function names in PHP are case insensitive. We should be using the
default/standard style - lowercase naming.
custom_field_api: use db_query_bound instead of db_query

db_query() was deprecated a long time ago and has now been removed from
the API. custom_field_api was still using the old db_query() function.

This commit does not attempt to properly setup bounded queries for the
old db_query() calls. This will happen at a later stage once the new
Database API is finished.