Refactor Studio editing JavaScript to make it easier to test
Add JavaScript tests for Studio editing and XBlock server interaction
Refactor student-facing JS views to use JS server interface.
manage.py test runs JavaScript tests