daemon: be more aggresive at excluding system accounts

system accounts sometimes have valid shells, so checking for
a valid shell isn't the best way to avoid showing those accounts.

This commit changes accountsservice to exclude accounts that have
a password hash that doesn't match one of the standard formats.

https://bugs.freedesktop.org/show_bug.cgi?id=48178
po: Add back accounts-service.pot

It gets deleted on make clean and so accidentally
got removed from the repo.

Really need to figure out a good story here.
Add --enable-admin-group build option

Two major choices are wheel/sudo; that's unlikely to unify
anytime soon, so let's make it build-time configurable.

https://bugzilla.gnome.org/show_bug.cgi?id=695419

https://bugs.freedesktop.org/show_bug.cgi?id=62235
build: Fix previous patch

Had this in my local tree, forgot to amend.
lib: fix list_users anotation

We don't returned referenced users so say we do in the annotation.

https://bugzilla.gnome.org/show_bug.cgi?id=691891
act-user: when copying from user free existing data first
Check for logind, not for systemd

It is possible to build systemd without logind, in which case sd_booted() would
succeed. Check for /run/systemd/seats to test for logind instead, as
recommended by systemd upstream.

For details, see:
<https://mail.gnome.org/archives/desktop-devel-list/2013-March/msg00092.html

Drop the now unnecessary linking against libsystemd-daemon.

https://bugs.freedesktop.org/show_bug.cgi?id=62586
0.6.31
Fix up all documentation warnings and complete documentation

https://bugs.freedesktop.org/show_bug.cgi?id=63880
Fix warnings when building gir and vapi files

https://bugs.freedesktop.org/show_bug.cgi?id=63875
Fix compiler warning for mismatched function signature

https://bugs.freedesktop.org/show_bug.cgi?id=63873
Remove newlines from debug messages

g_debug() doesn't need to be passed a new line

https://bugs.freedesktop.org/show_bug.cgi?id=63871
Actually print debug messages when --debug

Because the default log handler requires G_MESSAGES_DEBUG to
be set to print debug messages, install our own handler if
--debug but not G_MESSAGES_DEBUG

https://bugs.freedesktop.org/show_bug.cgi?id=63870
Quit properly when receiving SIGINT or SIGTERM

This allows us to better debug accounts-daemon, as well as
use tools like git coverage on it.

https://bugs.freedesktop.org/show_bug.cgi?id=63869
Avoid deprecation warning for g_type_init

With GLib 2.36, g_type_init is no longer necessary.
util: Clean up spawn_with_login_uid() error handling

We were only checking WEXITSTATUS(), but this is broken in the case
where !WIFEXITED(), for example WIFSIGNALED().  If available, use
g_spawn_check_exit_status() from newer GLib which makes this easy.

Also, use G_N_ELEMENTS() instead of hardcoding the length again.

https://bugs.freedesktop.org/show_bug.cgi?id=55067
Fix the doc build
Avoid an error when generating enums in distcheck

We were passing the full filename of all prerequisites to
glib-mkenums, but we were also switching to srcdir - this works
as long as switching to srcdir does not change our level in the
directory tree. With distcheck it does, and the filenames of the
form ../../../src/libaccountsservice/foo.h point to the wrong
place. Fix this by passing just the file-within-directory part
of the prerequisites.
Don't treat remote users as system accounts

Fix a bug in the logic that determines whether a user is a system
account or not. Don't treat accounts that have no shadow information
as remote users.

https://bugs.freedesktop.org/show_bug.cgi?id=64186
0.6.32