REVIEW - NX-444 - Input validation on artifact upload

https://issues.sonatype.org/browse/NX-444
http://bamboo.zion.aws.s/browse/NX-OSSF54-2