use consume_iter() instead of iter().transform(|&x| x)
auto merge of #654 : tkuehn/servo/master, r=metajack

Fixes #653.
r? @metajack