New template class.

A template is now a very simple key => value substitution together with repeats.

Example template :

Author Name : {name}
Books : {books}
{title} ({year})
{/books}

the data would then be in the following format :
array :
	'name' => 'Henrik',
	'books' => array :
		array : 'title' => 'Some title', 'year' => 2012
		array : 'title' => 'Another title','year' => 2013