Adding generic SSA_DB save and load

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