Initial SQL log architecture
Adding test for LoggedQuery
Adding test for QueryLogger
Some changes in QueryLogger test case
Adding test for LoggingStatement
Removing package annotation from some classes
Adding tests for logging functions in Connection
Implemeting logging for transactions
Renaming QueryLogger::write to log()
Making Statement a transparent decorator, creating PDOStatement
decorator to translate human fetch values to constants
Removing a few more @package tags
Renaming Statement to StatementDecorator, to better express what it is
supposed to do.
Merge remote-tracking branch 'origin/3.0-database' into 3.0-database-log

Conflicts:
	lib/Cake/Model/Datasource/Database/Connection.php
Merge pull request #1210 from lorenzo/3.0-database-log

3.0 database log