updated db.yml and travis for security
fixed sync for tests
merged travis fix and removed username from db.yml file