Updated benchmark code to work with new api.

Change-Id: I0685609e7d8f46b3ac705c3ca6b65fb87df99dcb
Reviewed-on: http://review.couchbase.org/28937
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>