First cut at clipboard API. It may change.

Currently only OS X implemented.