CBQE-1142: enable setting flag values

Change-Id: Idfe5f6e29d2806094eb07ce8ebe8169184278e67
Reviewed-on: http://review.couchbase.org/26280
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: abhinav dangeti <abhinav.dangeti@gmail.com>