Fix url handling in student lightbox report

Now it will work for portals deployed under a subdirectory.
Merge branch 'master' into gv-r32