Fixed compatibility with PHPUnit 4.1

Interface changed in https://github.com/sebastianbergmann/phpunit/commit/f0322b6978bc2b6fd9a17f499950a4b023ef3db4
Merge pull request #376 from mhujer/phpunit41

Fixed compatibility with PHPUnit 4.1
Patch for potential Sql injection in ORDER()
CS fixes (elseif, indentiation, trailing whitespace)
Merge branch 'security/zf2014-04'

ZF2014-04: Potential SQL injection vector via ORDER clause
[1.12.7] Release readiness

- Updated VERSION constant to 1.12.7
- Added release notes to README.md
Merge branch 'releases/1.12.7'

1.12.7 readiness
Bump version

to 1.12.8dev
Merge branch 'version/bump'

Bump to 1.12.8dev
Swapped expected and actual in the assertEquals()
Convert Zend_Db_Select into string for comparison
Fixed quotes
Pgsql, Sqlite and Static selects need quotes
Merge branch 'mhujer-fix-db-tests'
Unit test for ZF-1.12.7 (issue #378 & #381) regarding select statements with ordering direction or condition
Fixed the unit tests for issue #378
Merge pull request #1 from ezimuel/fix/unit-test-#378

Fix/unit test #378
Merge pull request #383 from DragonBe/zdbselect-ordertests

Unit test for ZF-1.12.7 (issue #378 & #381)