fix logical_switch_table sync api to update all fields before returning.

fix the key formation in logicalswitch ovsdbnotify
Adding NULL check to retreive tunnel keys from ovsdb_wrapper api.