Updated the code to use the correct method of converting a time string to unix and ntp time.

Change-Id: I2586eab4efe24534345cdfe000dc02bc00a05c00
Completed code, unit test and integration test for cg_cpm_eng_cpm

Change-Id: I38d95216926964283f422d0541f607b815ecfb79
Merge "Updated the code to use the correct method of converting a time string to unix and ntp time."
Merge "Completed code, unit test and integration test for cg_cpm_eng_cpm"