Debug missing trailing slash in repository path

* Automatically add a trailing slash in the path when creating or modifying a repository
* Automatic addition of trailing slash for repository path in lizmapRepository class