CLOUDIFY-2220 - Improve InvokeCustomCommand expected args on the new Rest API.
New test added to check the new Rest API.