Refactor: phpDoc fixes
Refactor SspVoter to make code more readable introduce getAllowedRoles private method.
Remove file upload as a valid metadatafield type, fixes #547 and fixes #544