Define MYSQL_VERSION string constant if not already defined

These tests were failing when run individually since the constant was
not defined. This patch defines the constant if it doesn't exist.

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
Move slow tests in HHVM to medium group

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
Import dependencies to make tests friendlier to running independently

The HHVM test runner runs the unit tests in parallel. Currently some tests
fail because not all the dependencies are properly included.

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
Fix AuthenticationCookieTest::testAuth to have proper includes

Also change testAuthSetUserWithHeaders to have more flexible assertion

Signed-off-by: Jeff Chan <jefftchan@gmail.com>
Merge pull request #1067 from jeffchan/fix-tests

Fix unit test running individually by file