Fix Issue #22 (https://github.com/foursquare/fongo/issues/22)
FongoDBCollection.idsIn(DBObject) throws ClassCastException
Check if it's a List or Object array before casting