[1119781] runtime name provided for deployment child creation overrides application name and path
Use the deploymentName as appropriate, the runtimeName should be an attribute
on the deployment and can be the same on multiple deployments, the
deploymentName must be unique among deployments.

-- incidental: several logging auto-formatting changes.
Bug 1115725 - Operation history continues to grow unbound with no easy way to purge old history

Fix an issue on Oracle, no ID conversion needed, Hibernate does it

Also, some code cleanup