Cleanup and improve ringer tile code.

Handle absence of vibrator properly by excluding the respective modes
from the selection in that case.

Change-Id: I63d1fc06cbbcadadff51866b929dde453f4eb4bd
Fix compilation for non QCOM hardware after 'Enhance face detection' commit

Change-Id: I337a7a2e8b124aac76f52abcc0edd8af9b0b0e29
Merge "Cleanup and improve ringer tile code." into cm-10.2
Merge remote-tracking branch 'cm/cm-10.2' into qcril
Merge remote-tracking branch 'origin/qcril' into caf