BZ-1050894 - A deployment unit in JaxbDeploymentJobResult is wrongly marshalled into JSON

- This commit also contains a small fix for an NPE when getting the status of a deployment unit
(cherry picked from commit 421a56c285b2c16026fd4da32ba31e1d2bd85dfa)
BZ-1035191 - Task commands submitted via JMS should not need a deployment id
(cherry picked from commit a8748cf0a4ebe0c488dad3b1d7922721a72d6ffb)
BZ-1054506 - History operations don't work with per-request and per-process deployments
(cherry picked from commit a1c59b878668b0140779c1bbc255401d9cd3541b)