[*] Core : Added option to put smarty cache in the database instead of the filesystem