made escaping work on hhvm
fixed a test on hhvm
removed a test that do not pass on hhvm as it is not able to compare DateTime objects properly