Change transaction order

:Release Notes:
Make transaction more fail safe

:Detailed Notes:
Reverse phisical put/update inside transaction

:Testing Performed:
Compiled and tested localy.

:QA Notes:

:Issues Addressed:
[ANG-1045] [DB8] Put order

Open-webOS-DCO-1.0-Signed-off-by: Maksym Sditanov <maxim.sditanov@lge.com>

Change-Id: I3098ba2e953d2af8ee9a4b731a5999857a1e5a8c
Reviewed-on: https://g2g.palm.com/4742
Reviewed-by: DCO Verification
Tested-by: Maksym Sditanov <maxim.sditanov@lge.com>
Reviewed-by: Igor Kuksyuk <igor.kuksiuk@lge.com>
Reviewed-by: Maksym Sditanov <maxim.sditanov@lge.com>