PackageLoader: use realpath when checking directories
Add {asset} macro - assets can be loaded from template