Merge "resourceloader: Simplify mwLoadEnd hook implementation"