Add enablers for stopping sensors in suspend

Ambient light and proximity sensors are stopped before entering
late suspend.

Also fixes incorrect interpretation of initial PS value.

[mce] Add enablers for stopping sensors in suspend
Block late suspend while there are active alarm dialogs

Makes sure we keep sensors active etc while handling alarms.

[mce] Block late suspend while there are active alarm dialogs
Fix unlikely, but possible file descriptor leak
Disable building of unit tests

Changes to modules/display.c broke unit test compilation.
This must be reverted once the unit tests can be built again.
Merge pull request #90 from spiiroin/suspend_sensors

Enablers for stopping sensors before suspending
Bump mce version to 1.17.2
Send fake sensor inputs on loss of sensord connection

Generate proximity not covered event to keep the device from falling
into perpetual proximity blanking state.

Generate ambient light value in normal range, so that display
brightness does not get locked in to extremes.

[mce] Send fake sensor inputs on loss of sensord connection
Do not stop sensors unless the runtime flag is in place
Use standby override property for proximity sensor

Set when mce needs proximity input and cleared when not.

[mce] Use standby override property for proximity sensor
Merge pull request #91 from spiiroin/lost_sensord

Do not leave the device in unresponsive state if sensor inputs are lost
Bump mce version to 1.17.3
Merge pull request #92 from spiiroin/ps_standby_override

Use standby override property for proximity sensor
Bump mce version to 1.17.4
Ignore double tap events when proximity sensor is covered

Differentiate between power key events originating from actual button
and ones originating from the touch screen. The latter must be ignored
when proximity is covered.

[mce] Ignore double tap events when proximity sensor is covered
Plugins remove sensor input callbacks when unloaded

If sensor input callbacks in plugins are left in place when plugin
is unloaded, terminating sensor framework sessions on mce exit path
can end up with segfault.

[mce] Plugins remove sensor input callbacks when unloaded
Merge pull request #93 from spiiroin/double_tap_device

Ignore double tap events when proximity sensor is covered
Bump mce version to 1.17.5
PowerOn led pattern color is grey75

Led ON with 75%, color = ffffff -> bfbfbf

[mce] PowerOn led pattern color is grey75
Merge pull request #94 from spiiroin/boot_led

PowerOn led pattern color is grey75
Bump mce version to 1.17.6