Get rid of DB warnings on CI phpunit tests using PHP 5.4

Use phing for travis build, get rid of DB warnings in PHP 5.4