Use factory file so JS used by studio_xblock_wrapper.html goes through RequireJS Optimizer

The code change is up on my sandbox (http://studio.cahrens.m.sandbox.edx.org/course/validation/validation/validation).

You can see there that the factory file is loaded instead of the individual model and view files.
Note to reviewers: is_root (Python variable) may be None. That is why I am doing the comparison to True. I could also use bool as I did above.