Add ability to specify base directory on the repository level

This change is needed to support multiple repositories per S3 bucket
Update snapshot list when snapshot is deleted