reports: br12 report - added comments to queries

Changed the code structure so it will be more readable
and added commets.

Change-Id: I20b1e3ee63a6436acdf1772f247e649f6cb2b1b0
Signed-off-by: Shirly Radco <sradco@redhat.com>