Created internal function which accesses the clipboard on every OS.

There are a couple of functions either being proposed (SOcheck) or existing (readSO) which require the ability to read the clipboard. This is a small utility function they can all use.