Changed CGI base to show correctly referer errors and generating response errors
Merge branch 'jag/cgi-print-error-fixes' into 3.4

Conflicts:
	main/core/ChangeLog