Feature/atomic init

This commit enables the UnreliableLocalPlugin to be initialized with a ConnectionTO.
This is then used to set up a test in which initializing the repo fails on the actual uploading of files. 

This is then fixed by catching the StorageException and cleaning up local files if any of the remote operations fail. 

This fixes the local part of #95