Add logic for message id validation

:Release Notes:
Add logic for message id validation
Debug messages have "DBGMSG" as a message id.

:Detailed Notes:
- Adding logic validates length of message ids.
 When the length is 0, error message will be recorded like below.
 "user.err a.out [23431] PmLogCtl EMPTY_MSGID {} MSGID must not be empty"
- Debug messages have "DBGMSG" as a message id likely below.
 [BEFORE]
 "user.debug PmLogCtl [24742] PmLogCtl  {} free text"
 [AFTER]
 "user.debug PmLogCtl [24742] PmLogCtl DBGMSG {} free text"

:Testing Performed:
Compiled locally and tested on a device.

:QA Notes:

:Issues Addressed:
[GF-44004] Message ID should be included in log message only
           it's not a debug level.

Open-webOS-DCO-1.0-Signed-off-by: Hongjeon Ha <hj.ha@lge.com>

Change-Id: Id23aa8b761631534dff7e4f7cb6a55ebfc9b2039
Reviewed-on: https://g2g.palm.com/3739
Reviewed-by: Build Verification
Reviewed-by: Hongjeon Ha <hj.ha@lge.com>
Tested-by: Hongjeon Ha <hj.ha@lge.com>
Reviewed-by: Gayathri Srinivasan <gayathri.srinivasan@lge.com>