bugfix for OSX paste using python 2.6 and added command line too.

`paste` used `subprocess.check_output` which was added in python 2.7
Also added a cli tool so that you can copy from arguments/piped input and output clipboard contents.