Methods added to extract the modules and resources in a course as an object

main work is in locallib.php the get_fast_modinfo_structure.txt file is a dump of a simple course for reference.