Delete and re-create media db if corrupted

:Release Notes:
If media db corrupted, delete and re-create media db directory.

:Detailed Notes:
If media db corrupted, just delete and re-create media db directory.
Services using mediadb will initialize there kinds automatically.

:Testing Performed:
tested on local build

:QA Notes:
stop db8, corrupt media db files, start db8
result: media db files completely replaced with new.

:Issues Addressed:
[GF-57390] If media db corrupted, delete and re-create media db directory

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

Change-Id: I9c5dcf420284a0b18530a5fc874be3cd7b37c308
Reviewed-on: https://g2g.palm.com/4317
Reviewed-by: DCO Verification
Reviewed-by: Oleksii Uratkin <oleksii.uratkin@lge.com>
Tested-by: Oleksii Uratkin <oleksii.uratkin@lge.com>