Implemented EZP-20194: Providing DB upgrade scripts

Relates to: https://github.com/ezsystems/ezpublish/pull/525