Irda: Add Irda System Service

This is not a perfect solution yet, but it does work and should therefore be a starting point.
It needs work to be functional on devices other than the Galaxy S4

* The Irda service is not started by default. It can be enabled via overlay.
* Uses a HAL module to communicate with sysfs

Change-Id: If0c4b2e59144b1f199c44add399a3f528ac11e5b
Wipe and re-create database on downgrade.

Not a very common situation but should fix some errors that could
 arise from flashing an old ROM over a new one, without wiping data.

Change-Id: I27f2a00396761105987830921bb3f8cb339d2171
Fix home key long press to work when assigned to recent app switcher.

Change-Id: Ibd16ff07b9910605c95180b54040f3e2b78939cb
Revert "frameworks/base: media: add support for DIVX files"

This reverts commit 1cf37fe908ebe5743726bdae43cdafc497c4f1a1.

Change-Id: I32d7378f469166bc63b3aaa5a1e3e31ae1ec812a
Merge "Revert "frameworks/base: media: add support for DIVX files"" into cm-10.2