allow configuration of DB in tests via env vars

refs #107
tests - remove catalog delete causing failure
remove fork of gsconfig from tree
use external gsimporter from git

refactored some of the upload functionality to be clearer
fix test failures