Inventory manager: get rid of synchronized blocks

This patch reworks the inventory manager to operate on batches, such
that it does not block notification threads and lowers the pressure on
the datastore.

Change-Id: I1953ce22446853b99a201381ff4d7b64a3cfcee7
Signed-off-by: Robert Varga <rovarga@cisco.com>
BUG-1138 - wrong value in OFPXMT_OFB_VLAN_VID in FLOW_MOD

- vlanPresent set to true if setting vlanId value
- checkstyle whitespace fix

Change-Id: I667fb667af8d5dcd1bc7216ce1fab9e78b6d2f51
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Merge "BUG-1138 - wrong value in OFPXMT_OFB_VLAN_VID in FLOW_MOD"
Merge "Inventory manager: get rid of synchronized blocks"