Revert "Delete and re-create media db if corrupted"

:Release Notes:
This reverts commit 6d582af46973469c27419c1653851b8807a32675.

:Detailed Notes:

:Testing Performed:

:QA Notes:
Project is uncompillable

:Issues Addressed:
Revert "Add factory reset and db clean on failures"

:Release Notes:
This reverts commit 3ba68c4c20fd8dd855c776657ef413e5d44c08fb.
Revert "Revert "Fix detected defects from static analysis""

This reverts commit c7e3cac8d12def756536f9260c91908c01c1a348.
Revert "Add compatibility for mojomail-pop"

This reverts commit 53717e782d5f7874079979728639e2c309e11618.
Revert "Add old log support to mojcore"

This reverts commit 4377a9b787735b192d19cebfbfca19d0a3b452ad.
Revert "Fix pmloglib usage"

This reverts commit 57c80f20675f0e5e442197cd45f83627db052bde.

Conflicts:
	src/db/MojDbServiceHandlerInternal.cpp
Revert "Fix pmloglib usage"

This reverts commit 82e34609315e63dd61f3ec3fc7a2fb1be35cbf52.

Conflicts:
	CMakeLists.txt
	src/db/MojDbServiceHandlerInternal.cpp
Revert "Switch to PmLogLib usage"

This reverts commit 2cd8e3f7c493751eae6ac0226705f15f45d5455a.

Conflicts:
	inc/db-luna/MojDbLunaServicePdm.h
	inc/db-luna/MojDbLunaServicePdmHandler.h
	inc/db/MojDb.h
	inc/db/MojDbShardEngine.h
	src/db-luna/MojDbLunaServiceApp.cpp
	src/db-luna/MojDbLunaServicePdm.cpp
	src/db-luna/MojDbLunaServicePdmHandler.cpp
	src/db/MojDb.cpp
	src/db/MojDbServiceHandlerInternal.cpp
	src/db/MojDbShardEngine.cpp
Make mojocore and mojodb compilable

Move all luna specific stuff from db to db-luna
Make mojodb and mojocore compilable