Default packaging to 'jar' if missing
Make it possible to set GPG password as environment variable in tests
Stop the program if any sub command fails
Unix newlines and chmod 644