trivial: Split the private and daemon tests into seporate files

This makes the size of the .c file semi-sane, and also allows us to do return
the correct return code when the daemon is not running.
Add optional installed tests

See https://wiki.gnome.org/GnomeGoals/InstalledTests for more details.