ensure all bundles are picked up by rjs, refs SD-1235
ensure all bundles are picked up by rjs, refs SD-1235

anything in a subdir (e.g. /legacy/) would not get bundled up. webpack is
imminent (in theory) and already does this correctly, but this is still a
good thing to do in the meantime so that:

* we speed up page loads (no more async, dependencies now get uglified)
* users don't load stale dependencies post-deploy (they aren't
  fingerprinted)

test plan:
1. canvas should work
2. when running optimized, any pages that use legacy bundles should just
   load a single js files, instead of a whole bunch through requirejs

Change-Id: I2004310cc0675a0ebeb49cdc70d8909e28cfb3b1
Reviewed-on: https://gerrit.instructure.com/82322
Tested-by: Jenkins
Reviewed-by: Ryan Shaw <ea3cd978650417470535f3a4725b6b5042a6ab59@instructure.com>
Product-Review: Jon Jensen <44f878afe53efc66b76772bd845eb65944ed8232@instructure.com>
QA-Review: Jon Jensen <44f878afe53efc66b76772bd845eb65944ed8232@instructure.com>

djbender/canvas-lms,SwinburneOnline/canvas-lms,venturehive/canvas-lms,djbender/canvas-lms,dgynn/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,grahamb/canvas-lms,grahamb/canvas-lms,dgynn/canvas-lms,sfu/canvas-lms,HotChalk/canvas-lms,sfu/canvas-lms,HotChalk/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,grahamb/canvas-lms,grahamb/canvas-lms,fronteerio/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,sfu/canvas-lms,dgynn/canvas-lms,SwinburneOnline/canvas-lms,SwinburneOnline/canvas-lms,fronteerio/canvas-lms,fronteerio/canvas-lms,instructure/canvas-lms,matematikk-mooc/canvas-lms,dgynn/canvas-lms,venturehive/canvas-lms,venturehive/canvas-lms,grahamb/canvas-lms,instructure/canvas-lms,matematikk-mooc/canvas-lms,sfu/canvas-lms,instructure/canvas-lms,matematikk-mooc/canvas-lms,djbender/canvas-lms,djbender/canvas-lms,sfu/canvas-lms,HotChalk/canvas-lms,venturehive/canvas-lms,SwinburneOnline/canvas-lms,matematikk-mooc/canvas-lms,fronteerio/canvas-lms,HotChalk/canvas-lms