Refactor Azure path handling logic
Related to: #276 (closed)
This MR refactors the path handling logic in preparation to include a configurable root directory.
The path rewriting logic is taken from the GCS driver.
Additionally, improvements were made to listing logic.