[usb-moded] Improve exit handling

Seems dbus_shutdown does not behave in the slightest as it is documented,
as it causes an exit(1). Also handle SIGTERM as that gets sent first by
init, before SIGKILL.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>