add travis.yml config to test against both rails3 and rails4.