svenfuchs/i18n — pull request #179 by chrisb (2012-11-27 22:50:27+00:00)
Title: Fix subtree support in I18n::Backend::KeyValue

It looks like arrays were enforced on `I18n::Backend::KeyValue` about a year ago (see https://github.com/svenfuchs/i18n/commit/e2b0fe4c9bbcf473caedf711e018843f6765b676) but this appears to have broken subtree support.

Take a look:

```ruby
backend = I18n::Backend::KeyValue.new(Hash.new,true) # explicitly enable subtrees
backend.store_translations :en, { :foo => { :bar => 'bar' } }
backend.store_translations :en, { :foo => { :baz => 'baz' } }
backend.send :lookup, :en, :foo # => {:baz=>"baz"}
```

As you can see, we expect a lookup on `:foo` to return the subtree, i.e. `{:foo=>{:bar=>"bar", :baz=>"baz"}} `, but it doesn't :cry: