Added category to the main file template

Automatically filled for PEAR2 packages (left to "default" for others, or PEAR2 packages that have only one "_" in their full package name).