XD-494 Implement common set of controller methods

* standardized controller methods
* update tests
* update REST client
* update ResourceDeployer

Jira: https://jira.springsource.org/browse/XD-494