Fix for GLib-CRITICAL: Source ID was not found

On remote ck session, there was a warning generated during log out.
This patch should fix that warning as well as add a couple debug
lines to help future troubleshooting. Thanks to hhoffstaette for
helping to troubleshoot this issue. For details see:
https://github.com/ConsoleKit2/ConsoleKit2/pull/15