Added script to build the JS documentation
Improved Javascript docs for JSDoc

Added namespaces so that JSDoc can find them.
Fixed a few warnings.
Improved some comments.
fix touch() when $mtime is set (Google wants RFC3339) #11267

ownCloud passes us a Unix time integer, but the GDrive API wants
an RFC3339-formatted date. Actually it wants a single particular
RFC3339 format, not just anything that complies will do - it
requires the fractions to be specified, though RFC3339 doesn't.

This resolves issue #11267 (and was also noted by PVince81 in
reviewing PR #6989).
Remove debug statement

Either we throw an exception or we ignore it. But we should certainly not print this to the end-user...
Drop form_factor that is appended to JS, CSS and template filenames
Try to read the file only instead of trying to touch

The permissions are already catched properly on the installation so we just have to check whether the file is readable to prevent fatal errors from happening.

Fixes https://github.com/owncloud/core/issues/12135
Merge pull request #12126 from owncloud/remove-debug-statement

Remove debug statement
Merge pull request #12128 from owncloud/drop-formfactor

Drop form_factor that is appended to JS, CSS and template filenames
OC_DAVClient is not longer used - no need to carry it around anymore
Merge pull request #12139 from owncloud/DoNotTouchMe

Try to read the file only instead of trying to touch
Merge pull request #12087 from AdamWill/google-touch

google: fix touch() when $mtime is set (Google wants RFC3339) #11267
Merge pull request #12141 from owncloud/kill-dav-client

OC_DAVClient is not longer used - no need to carry it around anymore
[tx-robot] updated from transifex
Merge pull request #9177 from owncloud/jsdocexperiment

Improved JS Docs + added build script for JS Docs
Move CSRF check

Because we're closing the session now before controllers are executed there are cases where we cannot write the session.

Conflicts:
	lib/private/server.php

Conflicts:
	lib/private/template.php