Add runtime whitespace trimming.

Clip is now able to use a dynamic whitespace trimming policy selectable
at runtime. This changes how Clip stores data: it now stores the
originally selected text (including all whitespace) and only applies the
trimming at paste time. This makes trimming non-destructive.