loader: Ensure correct management of empty directories
Previously, an empty directory added in a bazaar revision was incorrectly mapped to a content object with directory permission in the SWH data model.
So ensure it is properly mapped to a directory object in the SWH data model.
Also ensure that when an empty directory is removed in a bazaar revision it is also removed from the SWH directory data model.
Edited by Antoine Lambert