Add support for manual control of server with testrunner
Move patching testsuite to core
Get rid of compile warnings