CBQE - 1421 - Test code for REST APIs - rename and add node
Function for negative test removed. Uploaded with suggested changes. Also added get_domain function to get domain name of a linux machine.
Change-Id: Ieadcc0eff61acef59ff7eb5813965af2723dde10
Reviewed-on: http://review.couchbase.org/29059
Reviewed-by: Shashank Gupta1 <shashank.gupta1@globallogic.com>
Tested-by: Shashank Gupta1 <shashank.gupta1@globallogic.com>