Merge Amazon S3 driver

As stated in #46 , the S3 driver now passes all the tests (at least on my computer).

It should be ready for merge.
I would rather set the result of `get_root` in a global at the beginning. We don't need another call for that as the root won't change.