template engine rework
- use smarty3 as default engine
- new pluggable template engine system
template: remove old 'internal' template files, move smarty3 templates into 'templates' subdir
template: set smarty3 as default template engine in theme info array.
remove commented code from get_markup_template.
add check for $root/$filename in get_template_file.
missing "templates" folders
remove unneeded files
Merge pull request #669 from fabrixxm/templateengine

Use smarty3 as default template engine