refactoring for DirectivePart.optional
add standard block directive 'fragment'
reference resolver in DocumentContext is now stackable
make default rewrite rules for templates accessible
implement standard template directive 'for'