Removed small optimization for dot free expressions to simpify the code.
Simplified lookupAux by keeping its state in a closure and recurse without arguments.
Simplified lookupAux by keeping its state in a closure and recurse without arguments.
Mustach is according to the spec supposed to call functions that are within interpolation paths not only the last one.
Inlined the lookupAux into lookup to keep the code closer to the original.
Fixed so that render, streamRender and compile can handle deferred templates. With test.
Test rendering using partials functions returning deferreds and partials objects containing deferreds.