webos-image: db8=118
webos-image: db8=118

:Release Notes:
Improve initalization of shard engine and to avoid crash of db8.
Remove hardcoded value of minimum required free space, and make it to
calculate dynamically.
If media db corrupted, just delete and re-create media db directory.
Install activity jobs for tempdb and mediadb.
Check tempdb space every 1 min.

:Detailed Notes:
submissions/116..submissions/118
4c364b3 Fix crash when shard engine not ready
5d4a104 Update disk space information
6d582af Delete and re-create media db if corrupted
d2b7f7c Add space check for tempdb/mediadb

:Testing Performed:
MiniBAT GF-57678

:QA Notes:

:Issues Addressed:
[GF-57678] CCC: db8=118
[GF-57073] Excessive mojodb-luna crashes at location
           /usr/lib/libmojodb.so.3(_ZN5MojDb11requireOpenEv+0)
[GF-53734] DB8 needs to force a factory reset if it has run out of
           space
[GF-57390] If media db corrupted, delete and re-create media db
           directory
[GF-53321] Provide mechanism to track DB usage on-device

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

Change-Id: Ibb5235cb2ba2c3b2ed9491611d4d28882a9a9c68
Reviewed-on: https://g2g.palm.com/4337
Reviewed-by: DCO Verification
Reviewed-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@lge.com>
Tested-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@lge.com>
Reviewed-by: Joungyong Choi <48ff7f0f7b83dcfe136d0a6f7f2d52a52c47cc53@lge.com>
Tested-by: Joungyong Choi <48ff7f0f7b83dcfe136d0a6f7f2d52a52c47cc53@lge.com>

nizovn/meta-webos-ports,openwebos/meta-webos,openwebos/meta-webos,Garfonso/meta-webos-ports,openwebos/meta-webos,openwebos/meta-webos,nizovn/meta-webos-ports,Garfonso/meta-webos-ports