re #91 : Add ViewInterface::getState() method to return the view model state.
re #91 : Set the xml prolog by pre-pending it in KViewRss::_actionRender()
re #91 : Refactor KTranslator

- Add KTranslatorLocatorInterface::isFresh() method to be able to check if a translation is fresh.
- Add KTranslatorLocatorInterface::setLocale() and getLocale() methods
- Do no longer pass locale through KTranslatorLocatorInterface::locate()
- Make KTranslatorLocatorAbstract a multiton
- Implement a runtime location cache in KTranslatorLocatorAbstract
- Allow to pass config options to KTranslatorLocatorFactory::createLocator()
re #91 : Rename KLoader::setBasepath() to setBasePath() and getBasepath() to getBasePath()
re #91 : Pass the exception by reference when calling exception handlers.
re #91 : Implement KModelState::count() to return the model count.
re #91 : Rename attachFilter() to addFilter() and detachFilter() to removeFilter().
re #91 : Refactor KTemplateLocator

- Add KTemplateLocatorInterface::isFresh() method to be able to check if a translation is fresh.
- Add KTemplateLocatorInterface::setBasePath() and getBasePath() methods
- Do no longer pass base path through KTemplateLocatorInterface::locate()
- Implement a runtime location cache in KTemplateLocatorAbstract
re #91 : Refactor KTemplate package

- Add KTemplateEngine package to support different template engines. A template engine is responsible for template compilation and evaluation and offers support for one or more template file types. A engine can can be registered through the KTemplateEngineFactory.

- Add KTemplateEngine::registerFunction() and unregisterFunction() to allow defining template functions. A template function needs to be a callable.

- Add KTemplateEngineKoowa to handle rendering of default php templates. Implement support for compiled template caching.

- Refactor KTemplateFilterInterface. Removed KTemplateFilterRenderer interface. A filter now needs to implement the filter() method. Filters are called by KTemplateAdapter during render or can be called through KTemplateAdapter::filter().

- Remove KTemplateInterface::getView() and setView() methods. Templates no longer hold a reference to the view. Instead view can register various functions to be exposed to templates when running in a view context. Functions are also available in helpers. See KViewTemplate::_initalize() for list of functions.

- Add KTemplateAdapter to act as the adapter for the various engines. Engines are instantiated based on the file type of the template being rendered, or when template content is set dynamically the type can be specified in KTemplateAdapter::setContent().