Adds gsid custom-reports
refactors couple of repetitions
Merge pull request #1339 from dimagi/gsid-core

Adds gsid custom-reports