Add HTC Logging functions to support newer HTC props.

* ifdef'd with HTCLOG.

Change-Id: I70d0a6878dddf0f41d96735febda82c93496d8ec
Merge remote-tracking branch 'cyanogen/cm-12.0' into cm-12.0