DRAFT: first crack at updating the language and pulling in an initial set of patches

@braddunbar please review! I know there's still a bunch to do but wanted to get feedback early. Considerations:

* coffeescript or javascript?
* need to remove requireJS probably 
* need more tests and better commentary/docs on existing patches