Add ontoggle event handler, and dispatch toggle events to the details
element if the open attribute is added or changed. According to the
spec, if a new toggle event has been queued, previous toggle events
should be aborted.
MozReview-Commit-ID: EN6Jf5hVHHD
This is a relatively big change because the upstream changes slightly
affected the ini file format (changing the escaping), so the metadata files
were rebuilt from scratch.