WIP: Refactor restbase

- Move bucket handling into restbase
    - implement flat proxy handler layer, which allows bucket handlers to
      perform proxy requests as well
- communicate with the backend storage using REST requests too
- require backend storage modules