Code improvements for generate summary function
Change dialogue formslib to load repositorylib which loads everything we need
Replaced deprecated get_related_contexts_string call with the new way of doing it
Fixed regex to pull course or group id from select
Fixed bulk opener rule SQL in cron and added try n catch to die gracefully and not kill cron in the process