Add security logger to RedDAV.

Some smaller clean ups whitepsaces and tabs, use PHP_EOL, Doxygen, etc.
Merge pull request #741 from dawnbreak/docu

Add security logger to RedDAV.