Abstracted action from FolderObserver: Prepare for observing InstantUpload

Abstracted action from FolderObserver.

This makes the FolderObserver cleaner (it only observes) and allows it to be used for other things as well. For example, observing the photo folder.

Not sure where to put the ObserverActionInterface and the according implementations. Might have to be moved.