Add a spec-incompliant load event.
auto merge of #1213 : jdm/servo/loadevent, r=kmcallister

It's good enough for now, since we don't track document resources at all. Should be good enough for #841.