core:  check DB objects before upgrade

Verify that Material Views are created with user 'engine'
If other user is attempting to create a MV, the database throws an
error

Change-Id: I50229dc028bc320405a7fc501a7f80f9ab23c6f3
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=960063
Signed-off-by: Eli Mesika <emesika@redhat.com>