Standardize worker preamble

The impetus here is to enable the automatic inclusion of the extlib/
directory, which is mostly a production related move. This standardizes
our preamble template to load extlib, let it be overriden from cgi-bin,
and then hook in ljlib.