An ad hominem is used within the confines of an argument. There is no argument here. He is calling them what they are. They stole, that is clear, the argument is air-tight (they have even apologized).
I wouldn't use this kind of language myself (not in any circumstance), but ad hominem it is not.
(DHH didn't say that using 37Signals assets directly was bad because they were fucking scumbags, just that what they did was bad and they were fucking scumbags as a result.)
That's not true at all. They are appropriate when you are actually trying to deflate the opposing side's character. For example, if someone has a history of making poor choices, it's likely that any further choice they make is also likely poor. That's why judges often take into consideration whether an offense is someone's first, or someone's third.
With that being said, both sides definitely should have reconsidered their PR strategy. Both being techies, it's reasonable to assume that they should be fully aware of how things like this propagate on the internet.
used for emphasis or to express anger, annoyance, contempt, or surprise.
scumbag |ˈskəmˌbag|
a contemptible or objectionable person.
It's appropriate.
EDIT: here's full context per JackWebbHeller's request:
@dhh The Sharebooster site is serving even more images straight off the Highrise server: http://yfrog.com/oddh4zoj . Fucking scumbags.