shared: fix log_emergency_errno macro

It was not passing the error argument.
treewide: auto-convert the simple cases to log_*_errno()

As a followup to 086891e5c1 "log: add an "error" parameter to all
low-level logging calls and intrdouce log_error_errno() as log calls
that take error numbers", use sed to convert the simple cases to use
the new macros:

find . -name '*.[ch]' | xargs sed -r -i -e \
's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/'

Multi-line log_*() invocations are not covered.
And we also should add log_unit_*_errno().
treewide: no need to negate errno for log_*_errno()

It corrrectly handles both positive and negative errno values.
core: add log_unit_*_errno() macros
core: convert log_unit_*() to log_unit_*_errno()

Using:
find . -name '*.[ch]' | xargs sed -r -i -e \
's/log_unit_(debug|info|notice|warning|error|emergency)\(([^"]+), "(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_unit_\1_errno(\2, \5, "\3%m"\4);/'
core: two more log_unit_*_errno() conversions
treewide: drop unnecessary trailing \n in log_*() calls
treewide: more log_*_errno() conversions
sd-bus: rework credential query logic

Also, make the call to free kdbus slices generic and use it everywhere
sd-bus: add new call sd_bus_get_scope() for querying whether one is connected to a system or a user bus
sd-bus: rename default bus address constants, they aren't "paths" but "addresses"
bus-proxy: automatically detect scope of bus and derive which XML snippets to load from that
update TODO
sd-bus: make sure %m resolves to the specified error in bus_error_set_errnofv()
udev,update-done: more log_xyz_errno() conversions
hostnamectl: Exit with zero on success

In show_all_names(), bus_map_all_properties() returns 1 on success which is
then used as the return code of show_all_names() and eventually main(). Exit
with zero in main() on all nonnegative results to guard against similar errors.
treewide: more log_*_errno() conversions, multiline calls

Basically:

find . -name '*.[ch]' | while read f; do perl -i.mmm -e \
'local $/;
 local $_=<>;
 s/log_(debug|info|notice|warning|error|emergency)\("([^"]*)%s"([^;]*),\s*strerror\(-?([->a-zA-Z_]+)\)\);/log_\1_errno(\4, "\2%m"\3);/gms;print;' \
 $f; done

Plus manual indentation fixups.
treewide: simplify log_*_errno(r,...) immediately followed by "return r"
udevd: don't set receive buffer size when socket activated

The socket unit does this, so no need to redo it in udevd.
systemctl: append default suffix only if none present

Simplify unit_name_mangle() and unit_name_mangle_with_suffix() to
always behave the same, and only append a suffix if there is no
type suffix. If a user says 'isolate blah.device' it is better to
return an error that the type cannot be isolated, than to try to
isolate blah.device.target.