CBQE-0: rest api change for get and generate certificate for XDCR due to
interface change and revert http://review.couchbase.org/31652.

Change-Id: I283e37ce04ca2eb091c6e93d44410f0173e0f1cd
Reviewed-on: http://review.couchbase.org/31808
Reviewed-by: Sangharsh Agarwal <sangharsh.agarwal@globallogic.com>
Tested-by: Sangharsh Agarwal <sangharsh.agarwal@globallogic.com>