BZ 983543: snakeyaml requires rest objects to have setters
BZ 983495 NPE is thrown when JaxbCommandsRequest doesn't contain deploymentId

- This fix came out of the same test that was created for BZ 983495
REST/JMS services: various small changes and test fixes.