Fixes in carbon user-manager and registry-osgi

This pull request fixes two functions (`addProperty` in registry and `denyRole` in user manager) and adds a new function `clearResourceAuthorizations` to clear any roles attached to an artifact.