Rename starts_*_flow to is_*_flow
Refactor cascade() and fix cascade_with_cached_declarations()

* Expand the apply() and apply_cached() templates.
  Their two invocations each were different enough
  that this improves readability IMO.
* Create computed::Context from inherited and cascaded values
  rather than computed value, as much as possible.
* Centralize this creation rather than making it per-property,
  making 'needed_for_context' not needed anymore.
* Pass a context to cascade_with_cached_declarations() rather than
  duplicate the creation code.
auto merge of #1710 : jdm/servo/idmap-in-doc, r=Ms2ger

...ent.
auto merge of #1706 : SimonSapin/servo/refactor-cascade, r=pcwalton

* Expand the apply() and apply_cached() templates. Their two invocations each were different enough that this improves readability IMO.
* Create computed::Context from inherited and cascaded values rather than computed value, as much as possible.
* Centralize this creation rather than making it per-property, making 'needed_for_context' not needed anymore.
* Pass a context to cascade_with_cached_declarations() rather than duplicate the creation code.

@pcwalton r? Does this hurt the optimization introduced in 0fa0940ce9f043d19036894dc4349f9a4b2767aa?

This is mostly about nicer-looking code. The only thing that was wrong ([`apply_cached(priority)` instead of `apply_cached(needed_for_context)`](https://github.com/mozilla/servo/pull/1644#discussion_r9772133)) could be fixed with a much shorted diff.
auto merge of #1693 : lpy/servo/issue1692, r=pcwalton

see #1692
Add background-image property
Impl background-image support.
Add background test file
Add a reftest for background-image
Support base_url in stylesheet
auto merge of #1631 : recrack/servo/background-image, r=SimonSapin

for #777 #800

- support(http://www.w3.org/TR/CSS21/colors.html#background)
 - background: url(foo.png)
 - background: url(data:image/png;base64...)
 - background-image: url(foo.png)
 - background-image: url(data:image/png;base64...)

- not support(http://www.w3.org/TR/css3-background/)
Add trait-based virtual methods for commonly-overridden methods in derived DOM element types.
Integrate Element's after_set/remove behaviour into the virtual method hierarchy.
Add overridable tree binding/unbinding behaviour.
Make find_fragment_node a method of Page.
Initial spec-incompliant implementation of default click action for anchor elements.
Add documentation; gut the new document URL loading method and move it all into the new Window method.