included export PATH in setenv script templates to make sure to use the right python

setenv_ilastik_headless.template
changed templates to include PATH