pep8 + added perm to cmdb resources
pep8, missing imports, added perms to deployment
pep8
added perms to discovery
added missing constant
tests for access to API - business resource
pep8