Update TemplateBody production rule.

Make TemplateStat optional in the TemplateBody production rule.
This is necessary to parse objects with no body. Example:
object A {}