Refactored functions input to fix issues with newer express versions and improve integration. Thanks for @aldonline, @luispedro and @JasonGiedymin for their contributions. - No need to specify `context`: `foo` in `ck.render tpl, foo: 'bar'` now available as `h1 @foo`. - Locals implemented through `with` by default, hardcoded as an option. - Gone with `ck_*` locals, now all junk inside a `__ck` object.
* Vars provided as "context" (attached to this/@) were not available at the root of the document. * Previous version attempted to unwrap js generated by the coffeescript "filter" from its outer function. But it will always inevitably return the last statement, since it's just a .toString() of code generated by the cs compiler. So now, instead of unwrapping the js, we just call its outer function.