m7-common: initial implementation of m7 Irda HAL

Converts IR commands of format "frequency,cmd,cmd,cmd" to HTC's internal
IR command format.

Change-Id: I7b6c985a0c3e3a23b0422b3f9be681a6d2b54ad5