db: create domains_with_unregistered_entities_view
db: create domains_with_unregistered_entities_view

A few view creation scripts use the same sub queries.
Thus moving the common code to create a view makes more sense.

Change-Id: I0adc14a3ac084b1ec1705327c0a78c4e2c14ef79
Related-To: https://bugzilla.redhat.com/1247144
Signed-off-by: Idan Shaby <7d282434a997b05b417940edadd292e8428dbe3c@redhat.com>

OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine