MB-12222: ability to set state into custom object
MB-12222: ability to set state into custom object

useful for controllers which use vm

Change-Id: Idf7520fc52b2085a91533e59ab5c7fb930b6bf0a
Reviewed-on: http://review.couchbase.org/55499
Reviewed-by: Pavel Blagodov <596b71e626fc58dbdad141b817770e3e4810bb9b@gmail.com>
Reviewed-by: Dave Finlay <7b10a9ed9f70e64c30b07607a671ae61c33f14c8@couchbase.com>
Tested-by: Artem Stemkovski <15a0730a27c69f62ab86f2b6c639fca202166c02@couchbase.com>

membase/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,ceejatec/ns_server,ceejatec/ns_server,ceejatec/ns_server,membase/ns_server,ceejatec/ns_server,membase/ns_server,membase/ns_server,ceejatec/ns_server