docs: move D-Bus and GVariant snippets into separate files
As with other examples, move more code into the src/
tree so that
they can be linted (in the near future).
As with other examples, move more code into the src/
tree so that
they can be linted (in the near future).