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.
@andy-armstrong Enjoy the tests!