Update generators.py

Allow the use of {category}, {author} and/or {lang} for period archive generations.
Merge branch 'master' of github.com:fernandoflorez/pelican