compilation!

Summary:
Turns KAS into a compiler.
because (gottagofast).

Test Plan: Added tests in test.html

Reviewers: alex

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