KNL-1035 merge r121484:121486,121884 from trunk


git-svn-id: https://source.sakaiproject.org/svn/kernel/branches/kernel-1.3.x@122224 66ffb92e-73f9-0310-93c1-f5514f145a0a
KNL-1050 merge r121962 from trunk


git-svn-id: https://source.sakaiproject.org/svn/kernel/branches/kernel-1.3.x@122225 66ffb92e-73f9-0310-93c1-f5514f145a0a