some new features in templates.

added bz2 template and template for gnuftp, tar.xz and major and minor versions