Move phpunit xml file into a sane place
Skip Postgres tests if the class isn't loaded
Changes to num_rows function for hhvm
Skip QB tests for Postgres if the class isn't loaded
Work around MySQL issues in testsuite