[lipstick] Synchronize application clipboard with the compositor

When a client makes a selection (copy), write it to the compositor
application's clipboard. When the compositor makes a selection itself,
override the client selection. This way, the server and clients
effectively share the same global clipboard.
Merge pull request #95 from xknight/master

[lipstick] Synchronize application clipboard with the compositor