Fix debug compiler flags

- Partially revert of commit 4d63046617ea9a1b3167c47907cd387ed05ce2df
- Add MOJ_DEBUG compiler flag to debug build
- Remove MOJ_DEBUG_LOGGING from debug and release build

Open-webOS-DCO-1.0-Signed-off-by: Maksym Sditanov <msditanov@luxoft.com>

Change-Id: I88400b386c7d1ad90887237d4e4877d1c024c28f
Reviewed-on: https://g2g.palm.com/2754
Reviewed-by: Build Verification
Reviewed-by: Maksym Sditanov <msditanov@luxoft.com>
Tested-by: Maksym Sditanov <msditanov@luxoft.com>
Reviewed-by: Roger Stringer <roger.stringer@lge.com>