Add two configurable core directives and expand mod_perl support

Core features added:
 - $use_canonical_name            # Defaults to off, matching the default apache behavior
 - $use_canonical_physical_port # Defaults to off, matching the default apache behavior 

The arguement spacing increased to match the longest argument, makes the diff ugly, sorry.

Mod perl template added with an initial three arguments, based off the configuration of the wsgi plugin.