BZ-1021886, BZ-1001972 - Support for deployment operations in the (kie-remote) REST API

- Added tests

Conflicts:
	kie-remote/kie-services-remote/pom.xml
BZ-1021886, BZ-1001972 - Fixes for race-conditions in deployment operations (see tests)

- also some small API fixes for the Remote Java Api and the RestRequestHelper class
(cherry picked from commit a69396cb72651c227571d9da3544693253cde51c)