code: public int install(int appId, int spaceId) {
  		return getResourceFactory()
  				.getApiResource("/app/" + appId + "/install")
  				.entity(new ApplicationInstall(spaceId),
  						MediaType.APPLICATION_JSON_TYPE)
  				.post(ApplicationCreateResponse.class).getId();
  	}
docs: Installs the app with the given id on the space.
  
  @param appId
  The id of the app to be installed
  @param spaceId
  The id of the space the app should be installed o n
  @return The id of the newly installed app