Remote storage

Hi Jaisen!

I didn't do the curl optimization yet, but i thought i would already send you what i have, because i need to start working on something else today.

I'll also have to add our new storage formats at some point - right now the remoteStorage standard doesn't support directories, and the new one does, so then it makes sense to take advantage of that in the client.

So I'll probably keep sending improvements and updates in the coming months, but this should be a good baseline.


Cheers!
Michiel