rails3: fix quiz submission questions api spec failures
rails3: fix quiz submission questions api spec failures

rails3 changed BigDecimal json serialization to return a string, but this breaks
bw-compat with our existing apis. rails4 provides an option to opt-out of this,
so opt-out if we can, but otherwise monkey-patch rails3 to use native behavior

Change-Id: I50796ed1d2d33aa1ab9fce576016b5b08b24b30c
Reviewed-on: https://gerrit.instructure.com/30858
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Derek DeVries <ff87a0776152510efd53bb1f4ea089dbbc90e730@instructure.com>
Product-Review: Derek DeVries <ff87a0776152510efd53bb1f4ea089dbbc90e730@instructure.com>
QA-Review: Derek DeVries <ff87a0776152510efd53bb1f4ea089dbbc90e730@instructure.com>

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