Change putKind ordering to kind-object-index

:Release Notes:
Change ordering for writing to leveldb's to kind->object->index
instead of kind->index->object

:Detailed Notes:

:Testing Performed:
tested on local build

:QA Notes:
1. stop db8
2. strace /usr/sbin/mojodb-luna -c /etc/palm/db8/maindb.conf
3. put kind

:Issues Addressed:
[GF-61568] Factory reset happens when AC/DC test

Open-webOS-DCO-1.0-Signed-off-by: Igor Kuksyuk <igor.kuksiuk@lge.com>

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