Prevent rails 4.0 on travis-ci

[#50752269]

rails 4.0.0 has been released and so travis-ci tries to install it, but
attr_accessible has moved out into the protected_attributes gem in rails
4.0.0, so restrict to >= 3.2 and <= 4.0.0.