Adding ENVIRONMENT_MANIFEST and ENVIRONMENT_MODULEDIR variables

Bringing the configuration of the module directory and site.pp file out
of the documentation hook into the config file.