Performance-next

This is a rework of @tmm1's perf branch. I've implemented the lazy escaping for all functions in Houdini, and replaced the buffer class with our internal one.

/cc @tmm1 @brianmario