changes in the provisioner to use TLS when talking to the server

Move `coopr-provisioner/bin/rest-helper.rb` to `coopr-provisioner/master/lib/rest_helper.rb`