Wierd stuff in oil.

I recently for this Toyota IQ (Scion for you americans) and when unscrewing oil cap I was met with this. What might this be and why is it there? Should I be worried?

Also the oil level is a bit high. Over the mark for max on the dip stick. Is this related and how to get rid of the overfill?