Travis setup

* fix ant script
* print phpunit version
* use PHPUnit 4.x
* force php memory limit on travis to 1024MB
* setup databases
* create script for travis
* add whitelisted branches to .travis.conf
* conditional JS tests and ocular fixes
* make PHP 5.5 optional
mark failing SMB tests skipped