compilation!

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

Test Plan: Added tests in test.html

Reviewers: alex

Reviewed By: alex

Subscribers: eater

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