cp#1000078: Replace "\r\n" with "\n" when pasting from X11 clipboard.

E.g. when pasting from terminal you will get "\r\n".

Writer inserts '\r' character into the document as an
invisible character. If you save that to .odt and reload, you will
get ' ' instead. Or when saving to .doc and reload, you will get '\n'.

Change-Id: Id6780bf6d71a8f0a17c1e6ee7a7dcb4d297446dc