Test against Rails master and 4-0-stable branches in Travis CI