Barney freaks out when Marshall bequeaths a “slap bet” slap to Ted and Robin. Meanwhile, Lily’s estranged father shows up for Thanksgiving.