MDL-38055 course: fixed double encoding of title properties
MDL-38011 completion: Use new localised role names
MDL-37844 SCORM: fix js error and highlight selected node in TOC.
MDL-35840 SCORM TOC: fixed a typo, improvements on getting the focus
MDL-39010 theme_bootstrap: ADDED $THEME->hidefromselector = true; to theme/bootstrap/config.php.
MDL-39000 Conditional activities: Section condition restore errors
MDL-38904 Theme/JavaScript: Tidy up bootstrap JS
MDL-38904 Theme: Correct data-target for navbar
MDL-39080 theme_formal_white: modified "Main menu" block look to resemble the "Navigation" one
MDL-39029 quiz password: autofocus feature added
MDL-39064 changed sequence of directives to separate course content and course listings
MDL-39064 Course listings CSS ported from base to bootstrap theme
MDL-38880 Imported Cloze questions lose embedded images or other media
MDL-38678 SCORM: Runtime Environment (RTE) checks not required in case of SCO Assets
MDL-37762: Breadcrumb not showing categories on course page
MDL-27814 blogs: Cleaning up contexts in blogs

All blogs pages should be in system context. Blogs are in system context just about various things (course, activity etc)
MDL-27814 blogs: Remove redundant code

Since all blog pages are in system context always, it is useless to try to get course/mod params from page context
MDL-27814 blogs: Deprecate blog_get_context_url()
MDL-27814 blogs: Deprecate associate blog caps

moodle/blog:associatemodule and moodle/blog:associatecourse should not be used
anymore as per the discussion in the issue. Everyone is free to blog about anything
they want to blog about.
MDL-27814 blogs: Refactoring code to use proper context and such

Based on the decisions made in the issue, most places in blog should use site context.
There are also minor other refactoring to support all changes made in the issue.