master: Add INDEX on every FOREIGN KEY
cgi/html: using DBH::prepare_cached() for SELECT
cgi/html: using " instead of ' in SQL

The simple quotes ' have a special meaning in SQL, so it's easier to be
consistent with " around SQL statements
cgi/html: avoid direct-to-stdout with fast::cgi
cgi/master: fast-handle missing "/" for overview
cgi/html: fast-handle static pages
cgi/html: fast-handle png-like pages