Enable fetch_reference_ids to fetch arrays of IDs

`fetch_reference_ids` should also find the mongified ids if a reference-key column contains an array of IDs. It basically allows to use columns like this:
```ruby
  column "user_ids", :array, :references => "users"
```
I needed this for a private project but maybe you can merge it.