Add to string conversions for the CapabilityInterface class

and maybe for the others as well (provider, semantic).

This would make it easier to debug code using those classes.