Merge pull request #292 from teharrison/develop

bug fix
Merge branch 'develop' of git://github.com/MG-RAST/pipeline into develop
fix wrong db handle