Ok, I've never dealt with this one before, but here was my first instinct. As for the clothes, I would start a load in the washer (or in a large sink if you have one to spare for a few days) fill it with cold water and LOTS of Oxyclean. let it agitate a bit to make sure all of the clothes are saturated, but turn it off before it starts spining and just let it soak. Leave the lid open and forget about if for a few days, I'm talking like 3-5 days. Then finish running the wash cycle adding your regular detergent plus a little extra. Check the clothes out before putting them into the dryer to make sure the stains are gone, and if they're not, try the whole process again.
As for the dryer, well I have an idea for that too. Soak some towels in Oxyclean as well (I say towels because they're not as bad if they're stained, you can still live with them) and wring them out just enough so they are not dripping wet. Throw them into the dryer on a cool down cycle. My idea is that the cleaner on the wet towels will rub off onto the dryer barel (sp) and the rubbing action of the towels will help remove it.
Like I said, I have no idea if this will work or not, but this is what I would do first. Whenever I notice a stain after it comes out of the dryer, the first thing I do is soak it in Oxyclean. I swear by that stuff. Good Luck!