* refactoring the given steps in the webdav context
* refactored remaining given/when/then steps
* return file id
* trim trailing from the folder path
* add missing when step and make other minor corrections
* set responseXml and correct status code check
* correct the naming of steps and helper functions