Ensure that ancestor and class generated ancestors have unique files

MSP-9228

Include the module_ancestor.full_name in templates so that ancestor
templates for different paths have unique SHA1 hex digest even if all
other content is the same since ancestors and classes don't have any
other unique, non-cyclic generated attributes or associations.