reports: dr10 report - added comments to queries

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

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