page.cgi: code style, remove CGI usage
Redesign bug edit form.

* Use "label \n field" instead of "label \t field".
* Use divs instead of tables for layout.
* Make page scale from 4 columns down to 2 and then to 1 using media queries.
* Reflow 4 custom field columns with JS to balance their height.