Add travis.yml
Add dependent destroy for has_many references.