port WebAppRunnerTest to java and improve shutdown
test and rat fixes, and log message tidy
deprecte ApplicationBuilder.newManagedInstance to encourage mgmt context to be supplied, and convert many existing usages to conveniences which load LocalManagementContextForTests (to speed up tests by preventng catalog parsing)