Fix occasional exception when transforming cursor before/after positions.
Rework line sentinel marking to be much more robust.
Fixes #8: Implement html import.
Fix handling of newlines and extra white space in text nodes.
Refresh firepad.js and use setHtml() to initialize rich-text example.
Document firepad.setHtml.
Merge remote-tracking branch 'firebase/master' into cdia

* firebase/master:
  Fix handling of newlines and extra white space in text nodes.
  Fixes #8: Implement html import.
  Rework line sentinel marking to be much more robust.
  Fix occasional exception when transforming cursor before/after positions.
Merge commit '7e766c88e072593693aba58a2258107a5429aa66' into cdia

* commit '7e766c88e072593693aba58a2258107a5429aa66':
  Document firepad.setHtml.
  Refresh firepad.js and use setHtml() to initialize rich-text example.