Docblocks
Code cleanup
Remove TemplateHelperInterface::setTemplate(). If no template if passed through the constructor lazy create a default template.
Remove TemplateFilterInterface::setTemplate(). If no template if passed through the constructor lazy create a default template.
Make 'model' object property private
Refactor Template package

- Add TemplateEngineInerface::isDebug() and setDebug() methods. If debug is enabled cache() method will throw exceptions if caching fails. If debug is disabled the method will return false. Debug config option can also be passed through the template engine factory.

- Remove TemplateInterface::getContent() and toString() methods. TemplateInterface::render() should always return a string.

- Rename TemplateInterface::load() to loadFile()
- Rename TemplateInterface::setContent() to loadString()

- Add TemplateEngineMustache to support mustache syntax

- Add TemplateExceptionSyntaxError. Throw syntax error exceptions when $this is used in templates.

- Implement partial support in mustach and twig engines and implement support for engine mixing through partials.

- Add TemplateLocatorIdentifier::getLayout() to returna layout identifier from a template url.

- Add Application\TemplateLocatorFile to handle file template overrides.
Refactor template state and helper parameter handling

- Add Template::setParameters() and getParameters() methods.
- Set template parameters through ViewTemplate::_fetchData() when rendering inside a view context
- Rename template state() function to parameters()
- Add 'layout' and 'total' parameters dynamically through ViewTemplate
- Remove ViewInterface::getState()
Fix typo
Also add 'view' into parameters.