Front port of 2.0 tests to the trunk
add the verification in all the indexes tests that the --countEntries value is matching the count given by the debugsearchindex
Move "STAF tests" (functional-tests, stress-tests and system-tests) from "/tests" directory to "/tests/staf-tests" directory.