fix GEM_HOME for builds outside Vagrant VM
improved query manager
prepare version 0.0.3.pre
add some debug messages
add --wait option (resolves #16)
Merge branch 'next'