Added ttl for the set operation

Change-Id: I659b560e24f438605d32143ea92308d2da951fea
Reviewed-on: http://review.couchbase.org/25760
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>