make imagine and slideshow classes configurable like the rest

fix service definition files to use parameters for class names


| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   |see travis
| Fixed tickets | -
| License       | MIT
| Doc PR        | -