Split <swh:create_origin> / <swh:add_to_origin> handling to its own function.
It will be reused by _multipart_upload in the next commit, and makes _atom_entry smaller.
Migrated from D4799 (view on Phabricator)
It will be reused by _multipart_upload in the next commit, and makes _atom_entry smaller.
Migrated from D4799 (view on Phabricator)