Fixed warning in Database destructor; added db download for travis tests.