Update examples to use a connection string

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