use dbus to register with session manager

autorestart in desktop file is set to false. It is needed to
correctly handle --replace. It will be autorestarted in case of
crash.
handle SIGTERM and SIGINT
remove last use of libegg
remove libegg
clock: don't use deprecated GtkButton:xalign
update POTFILES.in