Added new utility function: writeClip.

Like readclip, I think there's a need for this utility function and this package uses the clipboard a lot.

This function was written in particular as a precursor to integrating the code mentioned in #11.