Test with rails v4.0 on travis-ci

- Add gemfiles, limited version with actionmailer, activesupport and rails
- Ignore above gemfiles
- Add build config for travis-ci