Introduce new field to allow session name read

We introduce a new private field to a session to allow internal code to access
it. Existing internals have been refactored to benefit this change, and the
libnotify subsystem's lifecycle is now correctly handled.

Signed-off-by: Benoît Taine <ork@olol.eu>