Moved classes from reddav.php into own files.

Finished moving classes out from include/reddav.php into own files. Also continued with namespace for RedDAV.
Improved some docs and added some todos and fixmes.