fix csv download also when searching
handle ajax errors (closes foodcoops#300)

Conflicts:
	app/assets/javascripts/application.js