Fix infinite-looping reflector() implementation for WindowProxy.
Introduce mutable/immutable variants of reflector() with named lifetimes, and kill unsafe casts.
auto merge of #1032 : bholley/servo/unsafe_reflector_casts, r=jdm

r? @jdm