Rename classes in the config api.

Also change attributes for config collection without view.
Merge pull request #1145 from normanjaeckel/ReworkConfig

Rework config