THRIFT-2919 Haxe test server timeout too large
Client: Haxe
Patch: Jens Geyer

This closes #340

- reduced timeout and made sure the test script waits appropriately
- added test to make sure Haxe >= 3.1.3 is used