LPS-41455 Set the recent layot set branch id when adding it just as we do when adding new layout revisions
LPS-41455 Apply the same pattern to layout branches