add data validation to assignment title, fixes #10898
add data validation to assignment title, fixes #10898

test plan:
  1. Create a new course
  2. Create a new assignment
  3. Try to add a title to the assignment that is longer than 255 characters long
  4. Notice the input box stops at 255 characters
  5. Click 'Update', notice the assignment is saved with no DB error

Change-Id: I7e5d2374d699c25c15d13cebef2403bea3121e73
Reviewed-on: https://gerrit.instructure.com/13966
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Jake Sorce <c8d99c2f7cd5f432c163abcd422672b9f77550bb@instructure.com>

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