Cleanup Element's AttributeHandlers

Remove notify_attribute_{changed,removed} in favor of a unified
notify_content_changed.
auto merge of #3859 : brunoabinader/servo/element-notify-content-changed, r=Ms2ger

Remove ```notify_attribute_{changed,removed}``` in favor of a unified ```notify_content_changed```. In the future, whether we decide to specialize ```document.content_changed()```, it'll be just a matter of adding a param.
script: Improve dirty propagation and fix script-layout synchronization.

This fixes race conditions whereby layout and script could be running
simultaneously.