Use new method names/constructors for basic examples

Change-Id: I45beac65ee82f8aaef5a1bafec27bed6a26ea03f
Reviewed-on: http://review.couchbase.org/42064
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>