Add cgi_helper.rb.
Add some useful functions to cgi_helper.rb.
Make error_exit private.