Fix evaluation of the next rtc wakeup time

Initialize sleeptime to INT_MAX so that alarm time gets considered
even if there are no iphb client wakeups queued.

[iphb] Fix evaluation of the next rtc wakeup time
Always log the state dsme leaves rtc wakeup on exit
Add diagnostic logging for rtc wakeup handling in verbose mode

Log alarm time stamps from timed in human readable form and
wakeups that happen due to rtc wakeups.
Add android_alarm.h

We need the ioctl constants for /dev/alarm
Make android_alarm.h usable for compiling user space code

Remove ifdef __KERNEL__ block and includes that cause conflicts.
Use /dev/alarm for scheduling rtc wakeups

The driver for /dev/alarm can reprogram the rtc wakeup when the
device suspends and override the wakeups we have programmed via
/dev/rtc. Thus we need to use /dev/alarm interface if the device
node is present in the system.

[iphb] Use /dev/alarm for scheduling rtc wakeups
Merge pull request #26 from spiiroin/alarm_time

Fixes to alarm handling
Bump dsme version to 0.62.21
Allow multiple handlers to see dbus signal messages

When handling non method call messages, the dispatcher does not
stop after finding the 1st suitable handler.

[dsme] Allow multiple handlers to see dbus signal messages
Merge pull request #27 from spiiroin/dbus_signal_handling

Allow multiple handlers to see dbus signal messages
Modify debug messages

Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
Let systemd restart dsme

Signed-off-by: Pekka Lundstrom <pekka.lundstrom@jollamobile.com>
Pump up version 0.62.22