Make RenderChan a newtype struct.

Also, derive Clone rather than implementing it manually.
Clean up AttributeHandlers::get_attribute() for JSRef.
auto merge of #2489 : zwarich/servo/render-chan-newtype, r=jdm

Also, derive Clone rather than implementing it manually.
auto merge of #2491 : saneyuki/servo/attr, r=jdm
Use StrBuf more efficiently in htmlserializer.
Rewrite escape() in htmlserializer to push onto a StrBuf.
auto merge of #2484 : Ms2ger/servo/htmlserializer-strbuf, r=jdm
Add stubs for inline event handler manipulation.
Implement window forwarding for body event handlers.
Compile JS strings when setting inline event handlers via element attributes.
Port modern callback handling code from Gecko, and copy related WebIDL parser bits too.
auto merge of #2204 : jdm/servo/inlineev, r=Ms2ger

Fixes #1238.