Special case for deleting the entire document

As CTRL+A selects from 0 to data.length in FF, create a
special case that replaces the document with an empty
paragraph.

Bug: 64917
Change-Id: Ib48ef2ee5c49780fceadd4da234940930325eeef
Merge "Special case for deleting the entire document"