refactoring of the scraper

small refactoring for the declaration of the time dictionary and how
lectures/recitation dictionaries are stored in the info dictionary
more refactors and additions

added output to a SUBJECT-courses.json file to cache it for database
insertion later. added tracking of midterms and finals