[api] configuration route can't support json in the API

If we still need configuration.json, we need to readd it in the webui
configuration controller, but I doubt it
[dist] update docu and reformat the routes config
[api] don't forget about unit tests
[api] fix test cases