added EventHandler interface for handling XEvents
added .idea directory to gitignore
Clipboard Stack class introduced, at the moment just tries to take ownership of the clipboard selection on initialisation