reports: dr7 report - added comments to queries

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

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