Only obtain a list of publishers if we are creating or editing

CKAN 2 appears to call setup_template_variables in read() as well as new() and edit() and as a result it is slow for logged in users. This only gets the publisher list for edit/new calls.