repoman/main.py: Create repos.repo_metadata()

Move code to a new function in repos.py.
repoman/main.py: Remove uneeded textwrap import
repoman/main.py: Move more profile code to profile.py