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
Removed export from ignore git and deleted export folder
I guess export index.html needs to be deleted as well
Edit Plugin Execution Order by Event to jquery
Template Variable Sort Order -> jquery + update to Plugin Execution Order
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)
header.inc improvemnet

remove js error when top frame is not present - good for debugging
Tabs history using session storage
fix typo
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()