Add missing documentation for setStylesheetText
fix some issues on CSS support

- nodes created with new stylesheet text are now removed when the
  stylesheet is removed
- make updates on import-ed CSS work in Firefox