ConsoleKit: limit number of ck threads
xbmc: fix avahi support

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