fix(rest/deployment): fix deployment REST resource

- rename "/deployments" resource to "/deployment" as other
  REST resources are singular
- add missing deployment resouces REST resource
- fix and extend tests
- align implementation with existing code base

related to #CAM-2084, #CAM-2085, #CAM-2086, #CAM-2087, #CAM-2088