generate-emacs-package.sh: Make file location configurable.

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
Group Emacs packages by their source archives (ELPA, Marmalade, etc.).

Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>