some library loading coherence

found this meanwhile investigating a taskd memory leak.
cgi/cgit.cgi: generate a config file per session
added dir apache_include/custom/

to allow custom user templates without being identified as git modified
files.