Move webdav class to core master

fixes #9085 

@icewind1991 @PVince81 @schiesbn @karlitschek @craigpg