tests: aqdb: build_db: provide a way to dump the DB SQL
tests: aqdb: build_db: provide a way to dump the DB SQL

This allows to dump the SQL that would be used to create
the database, in order to make it easier to create the
upgrade database files.

Change-Id: Iacc95cca94883eaec7d5f2cfd27fc971447156e8
Addresses-Issue: Jira/AQUILON-5210
Tested-by: Aquilon Template Build testing and verification
Reviewed-by: Fred Barnes <a457b66771fa7031f08927d92d89014c238c08f7@morganstanley.com>

quattor/aquilon,quattor/aquilon,quattor/aquilon