LPS-49250 Convert CMISRepositoryHandler into a Capability so that it can be easily obtained from a Repository with no instanceof magic. This change will make portal more robust by allowing future changes in the implementation of repositories that won't lead to regression errors.