THRIFT-2578 Moving 'make cross' from test.sh to test.py

Added "exit" feature to tests.json.
Py server, py client and cpp server "exit" is "hard" while others are "soft".
py server - py client and cpp server - py client are the only combination which has all tests running success.
cpp server - cpp server fails when using domain socket.
Okay, I'll think of a way how to add whole arguement to tests.json. I need to get location part from it and compute absolute path from it again and then join them. So anyway I will have to get  '--genpydir=' and 'py/gen-py' as 2 seperate arguements.