introduce background service
Based on https://git.card10.badge.events.ccc.de/card10/companion-app-android/-/merge_requests/31 with a few extra fixes
Based on https://git.card10.badge.events.ccc.de/card10/companion-app-android/-/merge_requests/31 with a few extra fixes