[307] Removes rest of python from templates with a couple of exceptions

There are two or three places where there is still some python in the
templates, but they need reworking to be more optimal.
Merge branch 'master' of github.com:datagovuk/ckanext-dgu