Fix #40 Invalid format for plugins_dir

Configuration now supports an array of plugin_dirs and the default
behaviour is to add directories without erasing the default plugins_dir
setting.
The default template_dir is also kept, by replacing setTemplateDir()
with addTemplateDir() in SmartyEngine.