Possible fixes to afpstats dbus issue

Initialize afpstats before calling configinit in main() thus ensuring
dbus glib thread initilisation is performed as we need it.

Use private dbus connection from dbus_g_bus_get_private() which should
help with issues seen where our avahi dbus thread crashed.