fix config file template

Some things in the wrong place, some things that should not have been
there.
fix news and category links with trailing slashes

these trailing slashes should be allowed. The controller now removes
them if they are present.
release id bb6463d252