Added support for providing a render function that returns a string
Fixed bug in the indent method
Added method to return the body content as a function instead of a captured string
"invokeBody" function provided when including a template with nested body content