Store Window.active_timers in a HashMap

A HashMap allows easily looking up a timer and canceling it in
Window.ClearTimeout.

Fixes #1477.
auto merge of #2002 : mrobinson/servo/issue-1477, r=jdm

A HashMap allows easily looking up a timer and canceling it in
Window.ClearTimeout.

Fixes #1477.