Add a docstring to describe the package metadata required for REMS
Move server URL construction out of post_metadata

This should allow the same method to be used for pushing both
catalog items (dataset metadata) and license metadata.
Convert ISO 639-2 T language codes to two-letter codes if needed
Clean up docstring and naming