Config paramter for folder of resource type templates

Set the foldername of the resource type templates via config parameter. This was done before hardcoded (sitename/types/...). It is still "types" when not configured otherwise.