[FAB-7595] sync block access with state update
[FAB-7595] sync block access with state update

This CR makes the blocks access related APIs wait for state
update to complete - this makes block commit and state update
as an atomic operation from a client's perspective.
In absence of this synchronization, a client may get a block
commit event but he may still get old state values when the
client immediately accesses the state

Change-Id: Iefc8d27673c88ce8ae09b182b6373fe6660a4759
Signed-off-by: manish <a9d79eea65b0c2019f8af02c53bb35240dcbd527@gmail.com>

hyperledger/fabric,lukehuangch/fabric,ckeyer/fabric,manish-sethi/fabric-sidedb,ckeyer/fabric,muralisrini/fabric,binhn/fabric,lukehuangch/fabric,jimthematrix/fabric,manish-sethi/fabric-sidedb,binhn/fabric,stemlending/fabric,manish-sethi/fabric-sidedb,lukehuangch/fabric,ckeyer/fabric,ckeyer/fabric,stemlending/fabric,muralisrini/fabric,xixuejia/fabric,manish-sethi/fabric-sidedb,stemlending/fabric,manish-sethi/fabric-sidedb,manish-sethi/fabric-sidedb,manish-sethi/fabric,lukehuangch/fabric,binhn/fabric,xixuejia/fabric,ckeyer/fabric,lukehuangch/fabric,xixuejia/fabric,stemlending/fabric,muralisrini/fabric,lukehuangch/fabric,ckeyer/fabric,jimthematrix/fabric,manish-sethi/fabric,ckeyer/fabric,manish-sethi/fabric-sidedb,lukehuangch/fabric,hyperledger/fabric