MDL-43856 MathJax: Add a mathjax loader filter.
MDL-43856 MathJax: alter the equation editor to make it use MathJax if it is available.

If MathJax is loaded by any means, the editor should use it instead of the filter. This prevents
slow ajax requests and gives much better rendering. MathJax could be loaded by the filter,
or it could just be done the old way by sticking the include in the page header.
MDL-43856 MathJax: Add to standard plugins list
MDL-43856 MathJax: Improvements to the MathJax filter

* Remove all traces of mathjax from the atto equation editor - it is filter agnostic
* Add a M.core.event module for core events that can be published/subscribed to by plugins (loose coupling)
* Add a FILTER_CONTENT_UPDATED event so plugins can tell the filter system when nodes are added to the page
* Implement a listener for this event in the MathJax filter
* Fire this event from the equation editor and from the glossary filter
* Add a nolink tag to the mathjax filter, so equations will not be processed by the other filters
* Add a smarter throttle function to the equation editor preview updates (Y.throttle is dumb)
MDL-43856 MathJax: Coding style cleanups.
MDL-43856 MathJax: Add a setting for additional delimiters to support e.g. ASCIIMATH
MDL-43856 MathJax: Dynamically load mathjax into the page (as required).

This is to solve a tricky edge case, when a page has no equations, and then an AJAX
action loads filtered content which contains an equation. (The glossary filter can do this).

To fix this I split the loading into configuration and typesetting. The config always happens,
but does not load the external mathjax libraries. The typesetting happens when an equation is
found - and is what triggers the load of MathJax. This can happen in response to an AJAX event.
MDL-40872 Restore functionality of showrecentsubmissions setting
MDL-40843 recent_activity: corrections to grouping and user fields
MDL-40843 workshop: show user names in recent activity
MDL-40843 workshop: sort entries in recent activity block by time
MDL-43856 MathJAX: Small correction to readme_moodle.txt

The CDN urls have been moved to settings.php.
Merge branch 'wip-MDL-40843-master' of git://github.com/marinaglancy/moodle
MDL-43682 loglive: Rewrite loglive to use new logging stores

AMOS BEGIN
 CPY [eventcomponent,report_log],[eventcomponent,report_loglive]
 CPY [eventcontext,report_log],[eventcontext,report_loglive]
 CPY [eventloggedas,report_log],[eventloggedas,report_loglive]
 CPY [eventorigin,report_log],[eventorigin,report_loglive]
 CPY [eventrelatedfullnameuser,report_log],[eventrelatedfullnameuser,report_loglive]
 CPY [nologreaderenabled,report_log],[nologreaderenabled,report_loglive]
 CPY [selectlogreader,report_log],[selectlogreader,report_loglive]
AMOS END
MDL-43682 log: Fix issues with log report

Following fixes have been made:-
Porfile links where generating errors when there was no courseid present. Fixed the same.
get_readers() method was accessing an undefined property.
popups were used for action and ip address before the whole rewrite, we should maintain the same behaviour.
Fixed string issues.
Pass context to format_string method
MDL-43682 Some imporvements to loglive report
Merge branch 'MDL-43856-master' of git://github.com/damyon/moodle
MDL-43856 MathJax: Remove unused build folder.

This is left over from when I renamed the module.
Merge branch 'MDL-43856-master' of git://github.com/damyon/moodle
Merge branch 'MDL-43682-master' of git://github.com/ankitagarwal/moodle