Fix a dynamic borrow error when executing timer callbacks.
auto merge of #926 : jdm/servo/pagewhoops, r=metajack

r? @metajack