fixes and refactoring to Tmx.Server (import/export of test results)