log a dummy page view when logging rather than db'ing, refs #4052
log a dummy page view when logging rather than db'ing, refs #4052

The XHR calls to update a /page_view weren't logging anything, because
the page view isn't in the db when writing to log instead.

Change-Id: Ied5116a346b10153047fa94b9cfd9b163ff8e7f1
Reviewed-on: https://gerrit.instructure.com/2714
Tested-by: Hudson <dfb64870173313a9a7b56f814c8e3b33e268497a@instructure.com>
Reviewed-by: Zach Wily <9de8c4480303b5335cd2a33eefe814615ba3612a@instructure.com>

merichar/canvas-lms,parbros/red-innovadores-lms,antoniuslin/canvas-lms,wimemx/Canvas,sfu/canvas-lms,venturehive/canvas-lms,loganrun/pincan,Jyaasa/canvas-lms,redconfetti/canvas-lms,sdeleon28/canvas-lms,sfu/canvas-lms,AndranikMarkosyan/lms,rup/Tarrax,nditech/red-innovadores-lms,va7map/canvas-lms,faraazkhan/canvas,skmezanul/canvas-lms,arrivu/hoodemo,arrivu/hiring-site,gbleydon/canvas-lms,utkarshx/canvas-lms,dgynn/canvas-lms,utkarshx/canvas-lms,dgynn/canvas-lms,eCNAP/CANVAS,tgroshon/canvas-lms,sfu/canvas-lms,leftplusrightllc/canvas-lms,ottenhoff/canvas-lms,sdeleon28/canvas-lms,ShreniiNepal/shrenii_lmp,AndranikMarkosyan/lms,redconfetti/canvas-lms,fronteerio/canvas-lms,ankithbti/canvas_lms,wimemx/Canvas,samuels410/greatlakes-lms,djbender/canvas-lms,wimemx/Canvas,AndranikMarkosyan/lms,Unow/canvas-lms,landonwilkins/canvas-lms,usmschuck/canvas,roxolan/canvas-lms,nditech/red-innovadores-lms,icelab/canvas,Rvor/canvas-lms,merichar/canvas-lms,antoniuslin/canvas-lms,roxolan/canvas-lms,rup/Tarrax,sli7246/canvas_branch,narigone/canvas,HotChalk/canvas-lms,jay3126/canvas-lms,djbender/canvas-lms,kyroskoh/canvas-lms,usmschuck/canvas,shidao-fm/canvas-lms,eCNAP/CANVAS,whalejasmine/canvas-lms,shidao-fm/canvas-lms,shidao-fm/canvas-lms,narigone/canvas,ShreniiNepal/shrenii_lmp,Unow/ins,greyhwndz/canvas-lms,jay3126/canvas-lms,wye0220/shindig-canvas,eCNAP/CANVAS,icelab/canvas,sfu/canvas-lms,instructure/canvas-lms,faraazkhan/canvas,ankithbti/canvas_lms,tgroshon/canvas-lms,sli7246/canvas_branch,Jyaasa/canvas-lms,tgroshon/canvas-lms,wye0220/shindig-canvas,redconfetti/canvas-lms,ottenhoff/canvas-lms,wrdsb/canvas-lms,efrj/canvas-lms,Unow/ins,tgroshon/canvas-lms,venturehive/canvas-lms,matematikk-mooc/canvas-lms,instructure/canvas-lms,SwinburneOnline/canvas-lms,matematikk-mooc/canvas-lms,leftplusrightllc/canvas-lms,shidao-fm/canvas-lms,roxolan/canvas-lms,usmschuck/canvas,ankithbti/canvas_lms,kyroskoh/canvas-lms,sfu/canvas-lms,fronteerio/canvas-lms,wrdsb/canvas-lms,dgynn/canvas-lms,Rvor/canvas-lms,SwinburneOnline/canvas-lms,Unow/canvas-lms,redconfetti/canvas-lms,kyroskoh/canvas-lms,juoni/canvas-lms,arrivu/jigsaw-lms,venturehive/canvas-lms,loganrun/pincan,arrivu/jigsaw-lms,grahamb/canvas-lms,wrdsb/canvas-lms,arrivu/jigsaw-lms,merichar/canvas-lms,HotChalk/canvas-lms,whalejasmine/canvas-lms,snehakachroo1/LSI_replica,leftplusrightllc/canvas-lms,Jyaasa/canvas-lms,usmschuck/canvas,greyhwndz/canvas-lms,samuels410/greatlakes-lms,faraazkhan/canvas,venturehive/canvas-lms,jay3126/canvas-lms,instructure/canvas-lms,arrivu/qibla-ecampus,narigone/canvas,grahamb/canvas-lms,parbros/red-innovadores-lms,grahamb/canvas-lms,landonwilkins/canvas-lms,rup/Tarrax,va7map/canvas-lms,arrivu/hiring-site,gbleydon/canvas-lms,em2/canvas-lms,ottenhoff/canvas-lms,arrivu/arrivu-lms,matematikk-mooc/canvas-lms,efrj/canvas-lms,whalejasmine/canvas-lms,juoni/canvas-lms,snehakachroo1/LSI_replica,Rvor/canvas-lms,fronteerio/canvas-lms,utkarshx/canvas-lms,narigone/canvas,skmezanul/canvas-lms,Jyaasa/canvas-lms,ShreniiNepal/shrenii_lmp,skmezanul/canvas-lms,efrj/canvas-lms,utkarshx/canvas-lms,arrivu/arrivu-lms,arrivu/arrivu-lms,arrivu/hoodemo,greyhwndz/canvas-lms,sli7246/canvas_branch,juoni/canvas-lms,samuels410/greatlakes-lms,Unow/canvas-lms,eCNAP/CANVAS,instructure/canvas-lms,antoniuslin/canvas-lms,va7map/canvas-lms,antoniuslin/canvas-lms,djbender/canvas-lms,arrivu/qibla-ecampus,landonwilkins/canvas-lms,instructure/canvas-lms,Rvor/canvas-lms,sfu/canvas-lms,AndranikMarkosyan/lms,wrdsb/canvas-lms,parbros/red-innovadores-lms,loganrun/pincan,nditech/red-innovadores-lms,em2/canvas-lms,nditech/red-innovadores-lms,samuels410/greatlakes-lms,sdeleon28/canvas-lms,snehakachroo1/LSI_replica,skmezanul/canvas-lms,instructure/canvas-lms,HotChalk/canvas-lms,icelab/canvas,gbleydon/canvas-lms,em2/canvas-lms,Unow/ins,greyhwndz/canvas-lms,leftplusrightllc/canvas-lms,jay3126/canvas-lms,landonwilkins/canvas-lms,djbender/canvas-lms,ShreniiNepal/shrenii_lmp,dgynn/canvas-lms,arrivu/hoodemo,fronteerio/canvas-lms,arrivu/qibla-ecampus,va7map/canvas-lms,sdeleon28/canvas-lms,instructure/canvas-lms,juoni/canvas-lms,grahamb/canvas-lms,whalejasmine/canvas-lms,SwinburneOnline/canvas-lms,HotChalk/canvas-lms,arrivu/hiring-site,efrj/canvas-lms,grahamb/canvas-lms,sfu/canvas-lms,wye0220/shindig-canvas,snehakachroo1/LSI_replica,matematikk-mooc/canvas-lms,kyroskoh/canvas-lms,SwinburneOnline/canvas-lms,roxolan/canvas-lms