Adding .travis.yml to each package for unit tests

Updating travis config for database and http

Add .travis to gitattr