XLCLOUD-1066 - added application deployment rest resource; rest-client refactoring