work on query capabilities for s3fs

By now at least some query cases should work. This should allow
us to list existing files as well as create empty new files.

Uploading/Downloading data is currently not working as resteasy's
REST implementation always returns 0 for HEAD queries. This disturbs
s3fs. A lot.