Moving around functions in CMSRunAnalysis.py to have a decent structure
Report access type to popularity service. Fixes #4399