tests: make tests.sh more robust

Signed-off-by: Jean Privat <jean@pryen.org>
compiler: copy the binary if the outpath is crazy and cannot used in Makefile

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add `xmlesc` to escape XML in generated XML reports.

Signed-off-by: Jean Privat <jean@pryen.org>
tests: add "--base_very bad name@1&$|;:.ext'\"<>{}`~!#^*()_=+[]\\,?.nit"

That is a module with a very bad name

Signed-off-by: Jean Privat <jean@pryen.org>