Refactors clipboard. Fixes #539

The clipboard was an abstract wrapper around Enumerable. Since Rails 4.1 only allows to store simple objects in the session, it was necessary to refactor the clipboard to be a simple Enumerable again.