compilation!

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

Test Plan: Added tests in test.html

Reviewers: alex

Subscribers:

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