Installer updates to use DBAPI

Database calls chanelled trhough manager/includes/extenders/ database
class;
Typo fixed in action.connection.php
Default for @installset made array() instead of false in setup.info.php
DBAPI updates for use with installer

Allow for connection without database name
Remove pointless check for mysql_real_escape_string (if it ain't there,
you ain't running PHP5 or even 4.1), and deprecated reference to
mysql_escape_string()
add option for text mysql error
add no-exit test for database connection & selection
Run queries in testConnect

Added $query parameter to testConnect for installer to run SQL queries
before database name is known
Removed "no database" condition from mian connect() function
Use testConnect query

Where required, run queries on server with no database named
Removed superfluous reconnections
Remove extra connect(), fix typo, fix TV template assignment

Use existing connection from testConnect
Correct typo in error message call
Allow for TV .tpl having assignment to non-existent template (but leaves
suspect tests on the resources returned from queries)
Merge branch 'DBAPI_use' of git://github.com/kp52/ClipperCMS into DBAPI_use

Conflicts:
	install/instprocessor.php
	manager/includes/extenders/dbapi.mysql.class.inc.php
Include mysql DBAPI file.
TODO: dbapi selection on first action page.
Improved action file check
Correct $install->db->testConnect / test_connect
Fix install db connection to use correct connection method and charset.
Database prefix text changed to use DBAPI::test_connect()
Modify DBAPI::query() to be able to suppress errors.
Make DBAPI::test_connect use this.
Added comments to DBAPI::test_connect()