Change act_as_repository to has_repository
Add the method user.shares_repositories
Add the share management with permissions
Merge branch 'master' of https://github.com/Texicitys/Repository-Manager