packaging:  Updated upgrade flow to rename DB before its upgrade.
packaging:  Updated upgrade flow to rename DB before its upgrade.

Updated the upgrade flow so that restore operation will check
whether DB was already renamed, and if so, it will restore it
to the original according to backup file.

Change-Id: I686b033d15f7d8d91de52171ac06b6b8c836abef
Signed-off-by: Alex Lourie <9b6bd04ec8ec26165955e5c2df3f157a49c49dc0@redhat.com>

OpenUniversity/ovirt-engine,walteryang47/ovirt-engine,zerodengxinchao/ovirt-engine,walteryang47/ovirt-engine,yingyun001/ovirt-engine,yingyun001/ovirt-engine,yapengsong/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,OpenUniversity/ovirt-engine,yingyun001/ovirt-engine,eayun/ovirt-engine,yingyun001/ovirt-engine,yapengsong/ovirt-engine,halober/ovirt-engine,derekhiggins/ovirt-engine,derekhiggins/ovirt-engine,yapengsong/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,halober/ovirt-engine,zerodengxinchao/ovirt-engine,OpenUniversity/ovirt-engine,halober/ovirt-engine,zerodengxinchao/ovirt-engine,walteryang47/ovirt-engine,derekhiggins/ovirt-engine,zerodengxinchao/ovirt-engine,eayun/ovirt-engine,halober/ovirt-engine,yingyun001/ovirt-engine,eayun/ovirt-engine,yapengsong/ovirt-engine,eayun/ovirt-engine,derekhiggins/ovirt-engine,yapengsong/ovirt-engine,walteryang47/ovirt-engine,walteryang47/ovirt-engine