Use singular_class_name in Mediator template

currently, the generator would generate
```
API::Mediators::SSLEndpoints::Creators
```

instead of 

```
API::Mediators::SSLEndpoints::Creator
```