MULE-7772 Fixing upload script

Making settings.xml configurable
Making GPG signature deploy configurable
Fixing logging