I so agree; the fact that they let Ted be a pretentious jackass outright every now and then makes me feel less uneasy when he's being just-mildly-douchey in his relationships. Because then I can write it off as a character flaw instead of feeling like the show is approving the doucheness.
Re: "Come on, Lily, nobody likes a Ted." --best running joke ever