Implement IterBytes for TypeId
auto merge of #10359 : tomassedovic/rust/typeid-iterbytes, r=pcwalton

I'm not sure this is something you're interested in, but I was playing around the Any trait a bit and I wanted to try it as a key in a HashMap. To do that, TypeId needs to implement IterBytes.