Changed renderer_base.ftl to use methods of parent class, ...

...and added modules constant. Added method to get the constant version of the module name. Fixed the AlloyDocsTransformer to get the module name from the submodules section of the JSON rather than the modules section, so that it is more specific (does not get the parent module anymore).