MB-10366: Support tunable memory for bucket create/edit

Change-Id: I7e26627011f98730ba6dee9e74361ee1fc83852e
Reviewed-on: http://review.couchbase.org/34193
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: Bin Cui <bin.cui@gmail.com>