1097816 - adding "gpgkey" as a valid distributor config value

https://bugzilla.redhat.com/show_bug.cgi?id=1097816

This includes commits from #489 plus a unit test.