packaging: setup: check database object ownership on upgrade

check database object ownership to engine before upgrade.
If the owner is not engine, abort setup asking the user to run
changedbowner.sh script for fixing it.

Change-Id: I45b655e88c25dd51e567405cc6747b42dfd8a98b
Bug-Url: https://bugzilla.redhat.com/1022691
Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>