cli tools: better handling of DSN/options mixing

- Allow mixed DSN and options
- Don't use lcb_cntl() for logging. Pass it as an option to the DSN to
  allow for early logging

Change-Id: I7ac7028505756707d62176e8c4ef73c22ea085be
Reviewed-on: http://review.couchbase.org/38371
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Brett Lawson <brett19@gmail.com>