sourcedr: Map source review result to out files

This commit rewrite sourcedr/map.py so that `sourcedr collect` can map
source-level review result into output files.

Test: ./runtest.py
Change-Id: I17a608a64bc7dda85fa6610987267bc71a187e2c
22 files changed