fix silly bugs in ussesion.c and sessions_consolekit.c

sessions_consolekit.c:
- fix silly double free bugs
- fix a string literal
- make the module resident once the agent registered

usession.c:
- stop inlining functions that use the static sessions_table

ulatency.h:
- remove duplicated u_session_id_find_by_proc() declaration