Repoman: metadata import fixes

Move additional code from qa_data to here
Repoman: profile.py import fixes
repoman: qa_data.py import fixes
Repoman: subprocess.py import fixes
Repoman: vcs.py import fixes
Repoman: xml.py import fixes
Repoman: checks.py fix unitialized variable