Merge pull request #16 from dakovka/master

tests refactoring
[dbal] merge from repo head, resolve tons of conflicts
[dbal] fix code style, run inspections
[orm] fix ORM according to DBAL API changes
[orm] refactor SQL loggers to common ORMDbTestCase logging feature
[orm] update all tests, fix code style, clean up comments & todo
[dbal] fix InsertBuilder params binding
[system] fix code style with sniffs
[authentication] adapt to Doctrine DBAL
[cache] adapt to Doctrine DBAL
[pagination] adapt to Doctrine DBAL
[dbal] add some todo, clean up comments
[orm] restore lost test changes
[cache] fix test for expiration, for slow db cache compatibility
[system] fix travis db config
[system] fix travis db config
[system] fix travis db config
[dbal] fix outdated mysql-dependent test
[dbal] restore interfaces PHPDoc related to broken PHPStorm inspection
Update Selector.php

[orm] fix $objectsSet -> $objectSet in Selector::construct