Bindings and fix build

Hi Leo,

This request is for the bindings we discussed:

https://github.com/lhorie/mithril.js/pull/209

And to fix the qunit build error.