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)
Set manager theme to ClipperModern, not ClipperCarbon on install.
Issue 160 on github
Added comments to DocumentParser::getJqueryPluginTag()
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()
DBAPI::tables_present()
Also make DBAPI::test_connect() store database name in $this->dbase if connected successfully.
Installer to use DBAPI::tables_present().
Modify installer to use jquery, not mootools.
Merge branch 'develop' of github.com:TimGS/ClipperCMS into develop
DBAPI::connect() Correction to persistent behaviour