Revert to using closure

Sorry – that last PR you just merged in had a bug in it. I tried making a change at the last minute and didn't test it properly.

This PR changes it back to the closure style you had before. (But it still cuts out all the Hogan.compile code.)

I've tested it properly this time.