packaging: allowing to create DB without superuser

Current implementation works with legacy DB creation.

This new implementation adds working with DB environment
created with otopi-based engine setup utility.

Related-To: https://bugzilla.redhat.com/737598
Change-Id: I390d53b3768f08b2c62f31aeb32c1992f11b6999
Signed-off-by: Alex Lourie <alourie@redhat.com>