Testsuite: Cleanup run_testsuite.cmake

This commit cleans up run_testsuite.cmake. It now

 - correctly determines and submits the branch name
 - writes a smaller revision.log without redundant information
 - does not set a subproject per branch anymore
please add that a detached head gives "DETACHED HEAD" instead of "". You can probably check for this command failing.