Added (experimental, not so portable) DBAL platform.
PHPCs fixes.
Tested bad platform case.
PHP 5.3 fixes.
Aaaaagh. Pascofix.
Merge pull request #158 from xi-project/dbal-platform

Dbal platform