bug 43875: always load needed resources

Change-Id: I977d9a9bddbdbf0d6a0647a2a489c485d4880c5f
bug 43880: Only log edits by students enrolled in a course

Change-Id: I076f02e1551be82d08ae4684f763c53485180bf9
Merge changes I076f02e1,I977d9a9b

* changes:
  bug 43880: Only log edits by students enrolled in a course
  bug 43875: always load needed resources