Fixing KSync state machine for KSyncDBEntry transistion from DEL_ACK_WAIT
to TEMP state: to release the DBState (/reference) to DBEntry.
(As Temp State signify DB entry not yet notified to KSync.)

Adding correponding test case.
Fixes Bug: 1363837

Change-Id: I53b0253f30fc1ca440fd8c4c59f3abddcb1fb44d