Ensure tonr samples work from command line

Tomcat plugin configuration needs to be extracted so that
it applies to all runs (not just integration tests)

Fixes gh-164