Move namespaced constants to namespaced class
Replace deprecated constant with new class constant
Merge pull request #12421 from owncloud/issue/6101-remove-namespace-permission-constants

Issue/6101 remove namespace permission constants