Added support for several command line parameters

-d: repo directory
-f: commit message filter
-o: output file
-t: template file