remove setting of attr_accessibles
update dependency on the globalize gem
Revert "remove setting of attr_accessibles"

This reverts commit efaec72cb4834c82c64e876e965efe1d2a5ff75d.
use env variable RAILS_3/RAILS_4 to test different versions of rails.
add travis.yml config to test against both rails3 and rails4.