Adding support for ubiquity (file synchronization/storage) API.

Borrowed many implementation details from @matin's lovely icloud implementation;
thanks @matin!
Adding support for downloading files from iCloud's ubiquity service.