reports: br8 report - added comments to queries

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

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