CCBC-234 Add lcb_cntl command to determine source of configuration

Change-Id: I933558ffe4a20eedca6e03ee7bf3d2dfe0e11ab0
Reviewed-on: http://review.couchbase.org/30334
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Use second version of the lcb_create_st in C++ constructor

Change-Id: I5dde502fffe74fb97718b35877e27da80d5f4fb3
Reviewed-on: http://review.couchbase.org/30864
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
cbc: add switch --config-transport to choose HTTP/CCCP

Change-Id: I7eda1d684c1a5fd9bff13f27bdad2a1e804d27c8
Reviewed-on: http://review.couchbase.org/30865
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Sylistic improvements for configuration

- Make configuration structures named, not anonymous
- Use named local variable when configuration/boostrap structures are
  used often.

This avoids 100-column lines where the bulk is just referencing the
various identifiers.

Change-Id: I65bb20aacca9c4f3cff2a01b5d42484f49bee0d8
Reviewed-on: http://review.couchbase.org/30871
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>