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/mojodb.conf /var/db /media/cryptofs/data/db8/mediadb
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: Ie0959eda54e182866b66dca521cecf8af7d95573
Reviewed-on: https://g2g.palm.com/4970
Reviewed-by: DCO Verification
Reviewed-by: Maksym Sditanov <maxim.sditanov@lge.com>
Tested-by: Maksym Sditanov <maxim.sditanov@lge.com>