Debug: add fatal(), $this as cat; fix padding
minor optimisation

since gd() now uses a reference, thereby suppressing
the '... is not set' notice until dereference,
it can be used instead of isset in most cases:

	isset( $foo ) ? $foo : $bar

becomes

	gd( $foo, $bar )

similarly,

	if ( isset( $foo ) )
		for ( $foo as ...

becomes

	for ( gd( $foo, array() ) as ...
Add extensible classloading

ClassLoader.php:
	defines __autoload, defers to an instance of the class CLASSLOADER,
	which defaults to class ClassLoader, implemented in this file.

	Changes default PHP behaviour: throws a ClassNotFoundException.
	(normally, a fatal error is generated using 'require', and not
	while using 'include'; __autoloading however, only steps in
	when classes have not been included or required).

TemplateRequestHandler:
	Legacy PHP Template handlers.
	The only requirement for traditional PHP files to work
	is that they define a function template_content( [ $request ] )
	that either echoes or returns the output.

	The requesthandler will buffer all output and emit it at the appropriate
	time within a templated location.

serve.php:
	add exception handler.
	add lib/ to classpath.
	load classloader.
	register 'TemplateHandler' as a custom requesthandler; these will
	get priority.
add some docu
Resource: minor refactoring

should not introduce any functional change.
add Template.php

migrated from MMS, and adjusted to be extensible.
TemplateRequestHandler: don't require Template
Debug: fatal() more verbose.