Implement `Repository#expand_oids`

Rate my wrapping, @carlosmn.