fdo#72157: webdav: Release WebDAV file lock on document close.

Make it work with both serf and neon version.

Change-Id: I3c74ba57cde19f4417d0229c1c809756e3c5f9f8
(cherry picked from commit 956d088db5850e9a096bb9abd8b3e446e096f613)
webdav: Do not throw when saving new document.

Propagate information about !shouldAccessNetworkAfterException
from getResourceType out to getPropertyValues, to avoid further calls
which would result in cancelCommandExecution, when trying get properties
of document which does not exist yet, but we want to create it.

This was done in webdav-neon for other reasons as part of
0c3500115c4fd86284a027fc32be704afcf77061.

(cherry picked from commit 96e23564e95d2ecc5483e55b022c8a4db04d116b)

Conflicts:
	ucb/source/ucp/webdav/webdavcontent.cxx

Change-Id: Ia434a707d2946a6982075f9bf53904b78dc07a5e
webdav: Do not call into DAVResourceAccess with mutex locked.

This commit cherry-picks 0c3500115c4fd86284a027fc32be704afcf77061
for serf webdav version.

(cherry picked from commit e07cefb4f7ba39d59d25815e208ed61269079142)

Conflicts:
	ucb/source/ucp/webdav/webdavcontent.cxx

Change-Id: I108b0068cad847bf4947ece5e690f789ef034ae9