better paths for smarty templates

this reenables the possibility to define a cdn and then all assets (for now js and a few images) are loaded from there isntead of vendor/core/assets, vencor/plugins and app/assets