Bug 1066594 Restore composition string and selection after restarting composition when a part of composition string is committed r=emk