ARQ-600 Improve Tomcat Managed codebase

* Add new tomcat-managed-common module
* Refactor common "managed" code into it.
* Use IOUtilDelegator to read server responses in unit tests.
ARQ-1814 delay setting catalinaBase=catalinaHome