Support window presentaiton_document_target for module items.
Support window presentaiton_document_target for module items.

Fixes PLAT-1128

Test Plan:
 - Install lti test tool (https://github.com/rivernate/lti_tool_provider_example) and make sure the module item placement is selected
 - Add a module item and choose 'External Tool' as the type.
 - Find the app you just installed and click on it.
 - When the modal pops up click the green '+' in the top right cortner to add a content-item
 - Fill in the values however you want, just make sure 'Presentation Target' is set to 'window'
 - Click 'submit' and then 'Add Item'
 - Click the link in the module item and make sure it goes to a page with a button that says 'load <tool name> in a new window.'
 - Click the button and make sure the tool loads in a new tab
 - add another content item but this time set 'Presentation Target' to 'frame'. Make sure this tool loads in an iframe rather than a new tab

Change-Id: Ic6654bf40dd5aef0141aa4199b13bb58e03906eb
Reviewed-on: https://gerrit.instructure.com/56971
Tested-by: Jenkins
Reviewed-by: Nathan Mills <10b0771d20c18ad0d98c1d000665e443052b40b0@instructure.com>
QA-Review: August Thornton <9adc7a1161ddf32ff608de792a7e50179545f026@instructure.com>
Product-Review: Weston Dransfield <e9203059795dc94e28a8831c65eb7869e818825e@instructure.com>

whalejasmine/canvas-lms,HotChalk/canvas-lms,SwinburneOnline/canvas-lms,whalejasmine/canvas-lms,efrj/canvas-lms,matematikk-mooc/canvas-lms,venturehive/canvas-lms,redconfetti/canvas-lms,ShreniiNepal/shrenii_lmp,instructure/canvas-lms,Jyaasa/canvas-lms,shidao-fm/canvas-lms,sdeleon28/canvas-lms,AndranikMarkosyan/lms,sfu/canvas-lms,snehakachroo1/LSI_replica,venturehive/canvas-lms,djbender/canvas-lms,roxolan/canvas-lms,tgroshon/canvas-lms,instructure/canvas-lms,antoniuslin/canvas-lms,fronteerio/canvas-lms,Rvor/canvas-lms,snehakachroo1/LSI_replica,skmezanul/canvas-lms,Jyaasa/canvas-lms,narigone/canvas,snehakachroo1/LSI_replica,juoni/canvas-lms,SwinburneOnline/canvas-lms,jay3126/canvas-lms,djbender/canvas-lms,leftplusrightllc/canvas-lms,antoniuslin/canvas-lms,kyroskoh/canvas-lms,grahamb/canvas-lms,eCNAP/CANVAS,tgroshon/canvas-lms,fronteerio/canvas-lms,Rvor/canvas-lms,venturehive/canvas-lms,instructure/canvas-lms,Rvor/canvas-lms,grahamb/canvas-lms,utkarshx/canvas-lms,greyhwndz/canvas-lms,ShreniiNepal/shrenii_lmp,HotChalk/canvas-lms,dgynn/canvas-lms,kyroskoh/canvas-lms,eCNAP/CANVAS,narigone/canvas,antoniuslin/canvas-lms,roxolan/canvas-lms,leftplusrightllc/canvas-lms,dgynn/canvas-lms,sfu/canvas-lms,sdeleon28/canvas-lms,venturehive/canvas-lms,narigone/canvas,AndranikMarkosyan/lms,eCNAP/CANVAS,matematikk-mooc/canvas-lms,tgroshon/canvas-lms,djbender/canvas-lms,shidao-fm/canvas-lms,Jyaasa/canvas-lms,efrj/canvas-lms,HotChalk/canvas-lms,skmezanul/canvas-lms,kyroskoh/canvas-lms,instructure/canvas-lms,jay3126/canvas-lms,jay3126/canvas-lms,narigone/canvas,instructure/canvas-lms,whalejasmine/canvas-lms,AndranikMarkosyan/lms,sfu/canvas-lms,ShreniiNepal/shrenii_lmp,sfu/canvas-lms,shidao-fm/canvas-lms,greyhwndz/canvas-lms,roxolan/canvas-lms,sdeleon28/canvas-lms,antoniuslin/canvas-lms,wrdsb/canvas-lms,greyhwndz/canvas-lms,shidao-fm/canvas-lms,juoni/canvas-lms,wrdsb/canvas-lms,redconfetti/canvas-lms,grahamb/canvas-lms,greyhwndz/canvas-lms,fronteerio/canvas-lms,dgynn/canvas-lms,matematikk-mooc/canvas-lms,skmezanul/canvas-lms,juoni/canvas-lms,kyroskoh/canvas-lms,sfu/canvas-lms,efrj/canvas-lms,whalejasmine/canvas-lms,wrdsb/canvas-lms,dgynn/canvas-lms,djbender/canvas-lms,efrj/canvas-lms,sfu/canvas-lms,SwinburneOnline/canvas-lms,jay3126/canvas-lms,skmezanul/canvas-lms,instructure/canvas-lms,redconfetti/canvas-lms,matematikk-mooc/canvas-lms,Jyaasa/canvas-lms,sdeleon28/canvas-lms,utkarshx/canvas-lms,SwinburneOnline/canvas-lms,sfu/canvas-lms,tgroshon/canvas-lms,instructure/canvas-lms,Rvor/canvas-lms,AndranikMarkosyan/lms,grahamb/canvas-lms,utkarshx/canvas-lms,grahamb/canvas-lms,HotChalk/canvas-lms,fronteerio/canvas-lms,snehakachroo1/LSI_replica,ShreniiNepal/shrenii_lmp,wrdsb/canvas-lms,leftplusrightllc/canvas-lms,roxolan/canvas-lms,redconfetti/canvas-lms,juoni/canvas-lms,leftplusrightllc/canvas-lms,utkarshx/canvas-lms,eCNAP/CANVAS