Split QA script into different modules.
Reviewed-by: iustinp
Move QA script from testing/ to qa/.
Reviewed-by: iustin