Enable fetch_reference_ids to fetch arrays of IDs.

fetch_reference_ids should also find the mongified ids
if a foreign-key column contains an array of IDs.
Merge pull request #14 from pascalj/foreignid-array

Enable fetch_reference_ids to fetch arrays of IDs