LPS-45449 - Please read comments

Hi Brian,

I split the original changes into 2 parts because it is a relatievely big change and I think it is easier for you to review in this way. This pull request contains only the backend changes to be able to restart an already done layout export and some refactors to get rid of the outdated helper methods. We moved forward on the way to use the export import configurations in the backend so we changed what we store in the background task context to avoid to persist the same information 2 times in different objects. The next part will be the UI changes, and we have other alredy opened tickets to follow the same pattern for layout local/remote publish.

Please let me know if you have any questions regarding the change!

thanks,
Daniel