Add travis-ci matrix for rails3 and rails4, allow failure rails4

Add gemfile for rails3.2 and rails4.0
Allow failure rails4.0