fixed globalize module

This PR fixes all issues

There is  a failing test

```
  1) Failure:
test_set_friendly_id_should_fall_back_default_locale_when_none_is_given(SimpleI18nTest) [/Users/geremia/dev/friendly_id/test/simple_i18n_test.rb:72]:
Expected: "john-doe"
  Actual: "juan-fulano"

239 tests, 388 assertions, 1 failures, 0 errors, 0 skips
```

But everything is fine against `4.0.10.1`

```
223 tests, 367 assertions, 0 failures, 0 errors, 0 skips
```