Adding support for compressed DB files

Adding support for .gz and .bz2 compressed DB files.

DB files must be in the form:
DB_NAME.sql.gz|bz2
One database file per compressed file