Introduce `ecm_generate_dbus_service_file`
I took @broulik 's patch from https://phabricator.kde.org/D29051 and added a unit test and @kossebau 's documentation fixes.
This MR follows !11 (closed), had to make a new one because it could not be rebased (not a work/
branch)