plugin/core.c: Add new update protocol support for SIM_SUPPORT_SMDB mode

The new update protocol is based on: prepare/ready/update
messages in sequence.

Signed-off-by: Ilya Nelkenbaum <ilyan@mellanox.com>
Signed-off-by: Hal Rosenstock <hal@mellanox.com>