Refactoring: Config object uses ActiveRecord, Certificate plugin only accessed as singleton
- Add new config options: Selecting roles allowed to administrate Certificates and Certificate types
- Do permission checks according to the new config options
- Remove some unused/old files