reports: br5 report - added comments to queries

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

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