Allow multiple view directories for Smarty

Hi, I've added possibility of having multiple view directories as it is provided by Smarty itself.