1103311 - Extract any unit_key fields from metadata if None

If no unit_key metadata is passed in for uploaded puppet modules, just use the
module metadata to populate name, author, and version.

https://bugzilla.redhat.com/show_bug.cgi?id=1103311

**TODO**
- [x] Add tests
- [x] Address any feedback