Make setup/cleanup a tescase in replication tests.
Fix for more test data files not going into correct place
Clean of use of data and temp data in functional tests
Move "STAF tests" (functional-tests, stress-tests and system-tests) from "/tests" directory to "/tests/staf-tests" directory.