Remove needless '&mut self' from WindowMethods.
Remove needless '&mut self' from DocumentMethods.
auto merge of #2557 : saneyuki/servo/mut, r=jdm

related #2514