Only get publisher list if we are editing/creating a dataset

CKAN 2.x now calls setup_template_variables() from read() as well as edit/new, and so we only want to lookup all publishers in those cases.