Exit faster on empty templates
Make Curly.valid? use the compiler
Improve the compiled code