Fix rest.li client builders to support typeref keys on collection resources

RB=164876
R=mtagle,kjin,si-dev
A=slim