reports: added a condition vms / hosts are active

added a condition to the report query,
taht the vms or hosts must be active.

Change-Id: If078b29e2eb9a48018ab9035e9880fc320fdbe3e
Bug-Url: https://bugzilla.redhat.com/1085874
Signed-off-by: Shirly Radco <sradco@redhat.com>