preparation for new basis.l10n

- accept indexed l10n tokens in templates
- index is always injected (even with no --l10n-pack)
- fix problem with pathes in createDictionary calls (when no --l10n-pack
used)