Added Rails 4 and master in travis ci.