restoring active export

- removed awkward testing mode within exportdb method
- moved gzip compress to file util
- generalized gzip compress

- exporter test is a work in progress
fixing use of extension
enabling cloud export
Merge pull request #6 from dz1111/master

restoring active export; removing complicated testing mode from export method