Change components to use require nicely

Test Plan:
 * visit test.html
 * add a transformer
 * change the y range (to test graph and graph-settings)
 * change to formal mode and add a translation (to test
   number-input)
 * add an interactive-graph
 * change the x range (to test graph and graph settings)

Reviewers: alex

Reviewed By: alex

CC: alpert

Differential Revision: http://phabricator.khanacademy.org/D5842