Get capabilities for files and users sync from the API
fixed capability retrieval for empty addons
Merge pull request #242 from Zentyal/cperez/cloud-addons

Cperez/cloud addons