Adapt oozie startup to use postgres instead of embedded oozie