scripts/install: add support for sleep.d dirs

Signed-off-by: Stephan Raue <stephan@openelec.tv>
xbmc: rework sleep scripts for systemd

Signed-off-by: Stephan Raue <stephan@openelec.tv>